xref: /OK3568_Linux_fs/buildroot/package/ramsmp/ramsmp.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# ramsmp
4#
5################################################################################
6
7RAMSMP_VERSION = 3.5.0
8RAMSMP_SITE = http://www.alasir.com/software/ramspeed
9RAMSMP_ARCH = $(if $(BR2_i386),i386)$(if $(BR2_x86_64),x86_64)
10RAMSMP_LICENSE = Alasir License
11RAMSMP_LICENSE_FILES = LICENCE
12
13define RAMSMP_BUILD_CMDS
14	cp -f package/ramsmp/Makefile $(@D)
15	$(TARGET_CONFIGURE_OPTS) make -C $(@D) $(RAMSMP_ARCH)
16endef
17
18define RAMSMP_INSTALL_TARGET_CMDS
19	$(INSTALL) -m 0755 -D $(@D)/ramsmp $(TARGET_DIR)/usr/bin/ramsmp
20endef
21
22$(eval $(generic-package))
23