buildroot/package/ramspeed/ramspeed.mk
Peter Korsgaard 5e6ec6e319 ramspeed: use provided linker flags as well
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-06-29 15:09:10 +02:00

21 lines
556 B
Makefile

#############################################################
#
# ramspeed
#
#############################################################
RAMSPEED_VERSION = 2.6.0
RAMSPEED_SITE = http://www.alasir.com/software/ramspeed
RAMSPEED_ARCH = $(if $(BR2_i386),i386)$(if $(BR2_x86_64),x86_64)
define RAMSPEED_BUILD_CMDS
cp -f package/ramspeed/Makefile $(@D)
$(TARGET_CONFIGURE_OPTS) make -C $(@D) $(RAMSPEED_ARCH)
endef
define RAMSPEED_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/ramspeed $(TARGET_DIR)/usr/bin/ramspeed
endef
$(eval $(call GENTARGETS))