58c350ba67
As the semantics of FOO_DIR_PREFIX will change in the following patch, we want to remove unnecessary usage of this variable. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
25 lines
620 B
Makefile
25 lines
620 B
Makefile
################################################################################
|
|
#
|
|
# dhrystone
|
|
#
|
|
################################################################################
|
|
|
|
DHRYSTONE_VERSION = 2
|
|
DHRYSTONE_SOURCE = dhry-c
|
|
DHRYSTONE_SITE = http://www.netlib.org/benchmark/
|
|
|
|
define DHRYSTONE_EXTRACT_CMDS
|
|
(cd $(@D) && $(SHELL) $(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))
|