e1502ebc0c
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
30 lines
708 B
Makefile
30 lines
708 B
Makefile
#############################################################
|
|
#
|
|
# rings
|
|
#
|
|
#############################################################
|
|
|
|
RINGS_VERSION = 1.2.3
|
|
RINGS_SITE = http://github.com/downloads/keplerproject/rings
|
|
RINGS_DEPENDENCIES = lua
|
|
|
|
define RINGS_BUILD_CMDS
|
|
$(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -fPIC"
|
|
endef
|
|
|
|
define RINGS_INSTALL_TARGET_CMDS
|
|
$(MAKE) -C $(@D) LUA_LIBDIR="$(TARGET_DIR)/usr/lib/lua" \
|
|
LUA_DIR="$(TARGET_DIR)/usr/share/lua" install
|
|
endef
|
|
|
|
define RINGS_UNINSTALL_TARGET_CMDS
|
|
rm -f "$(TARGET_DIR)/usr/lib/lua/rings.so"
|
|
rm -f "$(TARGET_DIR)/usr/share/lua/stable.lua"
|
|
endef
|
|
|
|
define RINGS_CLEAN_CMDS
|
|
$(MAKE) -C $(@D) clean
|
|
endef
|
|
|
|
$(eval $(generic-package))
|