ljsyscall: move installation path to /usr/share/lua/5x

Move ljsyscall install destination to /usr/share/lua/$(abiver}, to
match what the luarocks install would naturally do.  This also
reflects the value of INSTALL_LMOD in the luajit.pc file.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Tested-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Danomi Manchego 2014-01-30 21:29:51 -05:00 committed by Thomas Petazzoni
parent 7ffd8642da
commit a888535d45

View File

@ -19,7 +19,7 @@ else ifeq ($(LJSYSCALL_ARCH),)
LJSYSCALL_ARCH = $(BR2_ARCH)
endif
LJSYSCALL_TARGET_DIR = $(TARGET_DIR)/usr/share/luajit-$(LUAJIT_VERSION)
LJSYSCALL_TARGET_DIR = $(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)
define LJSYSCALL_INSTALL_TARGET_CMDS
$(INSTALL) -d $(LJSYSCALL_TARGET_DIR)/syscall