8dfd59d114
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
32 lines
738 B
Makefile
32 lines
738 B
Makefile
################################################################################
|
|
#
|
|
# whetstone
|
|
#
|
|
################################################################################
|
|
|
|
WHETSTONE_VERSION = 1.2
|
|
WHETSTONE_SOURCE = whetstone.c
|
|
WHETSTONE_SITE = http://www.netlib.org/benchmark/
|
|
|
|
define WHETSTONE_EXTRACT_CMDS
|
|
cp $(DL_DIR)/$($(PKG)_SOURCE) $(@D)/
|
|
endef
|
|
|
|
define WHETSTONE_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) LDLIBS="-lm" -C $(@D) whetstone
|
|
endef
|
|
|
|
define WHETSTONE_CLEAN_CMDS
|
|
rm -f $(@D)/whetstone
|
|
endef
|
|
|
|
define WHETSTONE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D $(@D)/whetstone $(TARGET_DIR)/usr/bin/whetstone
|
|
endef
|
|
|
|
define WHETSTONE_UNINSTALL_TARGET_CMDS
|
|
rm -f $(TARGET_DIR)/usr/bin/whetstone
|
|
endef
|
|
|
|
$(eval $(generic-package))
|