luajit: add host variant
the goal is to use host-luajit with pkg-luarocks when luajit is on the selected luainterpreter for the target Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
0d1f550227
commit
f3f0dcc909
@ -64,4 +64,13 @@ define LUAJIT_INSTALL_TARGET_CMDS
|
||||
$(MAKE) PREFIX="/usr" DESTDIR="$(TARGET_DIR)" LDCONFIG=true -C $(@D) install
|
||||
endef
|
||||
|
||||
define HOST_LUAJIT_BUILD_CMDS
|
||||
$(MAKE) PREFIX="/usr" BUILDMODE=static -C $(@D) amalg
|
||||
endef
|
||||
|
||||
define HOST_LUAJIT_INSTALL_CMDS
|
||||
$(MAKE) PREFIX="/usr" DESTDIR="$(HOST_DIR)" -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user