DHRYSTONE_SOURCE = dhry-c
DHRYSTONE_SITE = http://www.netlib.org/benchmark/
+define DHRYSTONE_EXTRACT_CMDS
+ (cd $(@D) && $(SHELL) $(DL_DIR)/$($(PKG)_SOURCE))
+ $(Q)cp $($(PKG)_DIR_PREFIX)/dhrystone/Makefile $(@D)/
+endef
+
define DHRYSTONE_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
endef
$(eval $(call GENTARGETS))
-
-$(BUILD_DIR)/dhrystone-$(DHRYSTONE_VERSION)/.stamp_extracted:
- @$(call MESSAGE,"Extracting")
- $(Q)mkdir -p $(@D)
- $(Q)cd $(@D) && $(SHELL) $(DL_DIR)/$($(PKG)_SOURCE)
- $(Q)cp $($(PKG)_DIR_PREFIX)/dhrystone/Makefile $(@D)/
- $(Q)touch $@