2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-07 22:07:27 +01:00
|
|
|
#
|
|
|
|
# dhrystone
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-12-07 22:07:27 +01:00
|
|
|
|
|
|
|
DHRYSTONE_VERSION = 2
|
|
|
|
DHRYSTONE_SOURCE = dhry-c
|
2014-07-31 10:46:58 +02:00
|
|
|
DHRYSTONE_SITE = http://www.netlib.org/benchmark
|
2010-12-07 22:07:27 +01:00
|
|
|
|
2011-09-29 21:57:48 +02:00
|
|
|
define DHRYSTONE_EXTRACT_CMDS
|
|
|
|
(cd $(@D) && $(SHELL) $(DL_DIR)/$($(PKG)_SOURCE))
|
2013-11-11 12:53:11 +01:00
|
|
|
$(Q)cp package/dhrystone/Makefile $(@D)/
|
2011-09-29 21:57:48 +02:00
|
|
|
endef
|
|
|
|
|
2010-12-07 22:07:27 +01:00
|
|
|
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
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|