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:
24
package/dhrystone/dhrystone.mk
Normal file
24
package/dhrystone/dhrystone.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# dhrystone
|
||||
#
|
||||
################################################################################
|
||||
|
||||
DHRYSTONE_VERSION = 2
|
||||
DHRYSTONE_SOURCE = dhry-c
|
||||
DHRYSTONE_SITE = http://www.netlib.org/benchmark
|
||||
|
||||
define DHRYSTONE_EXTRACT_CMDS
|
||||
(cd $(@D) && $(SHELL) $(DHRYSTONE_DL_DIR)/$($(PKG)_SOURCE))
|
||||
$(Q)cp package/dhrystone/Makefile $(@D)/
|
||||
endef
|
||||
|
||||
define DHRYSTONE_BUILD_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define DHRYSTONE_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D $(@D)/dhrystone $(TARGET_DIR)/usr/bin/dhrystone
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user