mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
6
package/whetstone/Config.in
Normal file
6
package/whetstone/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_WHETSTONE
|
||||
bool "whetstone"
|
||||
help
|
||||
C Converted Whetstone Double Precision Benchmark
|
||||
|
||||
http://www.netlib.org/benchmark/
|
||||
2
package/whetstone/whetstone.hash
Normal file
2
package/whetstone/whetstone.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 333e4ceca042c146f63eec605573d16ae8b07166cbc44a17bec1ea97c6f1efbf whetstone.c
|
||||
23
package/whetstone/whetstone.mk
Normal file
23
package/whetstone/whetstone.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# whetstone
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WHETSTONE_VERSION = 1.2
|
||||
WHETSTONE_SOURCE = whetstone.c
|
||||
WHETSTONE_SITE = http://www.netlib.org/benchmark
|
||||
|
||||
define WHETSTONE_EXTRACT_CMDS
|
||||
cp $(WHETSTONE_DL_DIR)/$($(PKG)_SOURCE) $(@D)/
|
||||
endef
|
||||
|
||||
define WHETSTONE_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) LDLIBS="-lm" -C $(@D) whetstone
|
||||
endef
|
||||
|
||||
define WHETSTONE_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D $(@D)/whetstone $(TARGET_DIR)/usr/bin/whetstone
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user