[Buildroot] [PATCH] ljsyscall: new package
Danomi Manchego
danomimanchego123 at gmail.com
Wed Sep 25 13:06:45 UTC 2013
Thomas,
On Wed, Sep 25, 2013 at 9:01 AM, Thomas De Schampheleire
<patrickdepinguin at gmail.com> wrote:
> Danomi Manchego <danomimanchego123 at gmail.com> wrote:
>>Thomas,
>>
>>On Wed, Sep 25, 2013 at 2:04 AM, Thomas De Schampheleire
>><patrickdepinguin at gmail.com> wrote:
>>>>+define LJSYSCALL_INSTALL_TARGET_CMDS
>>>>+ $(INSTALL) -d $(TARGET_DIR)/usr/share/luajit-$(LUAJIT_VERSION)/syscall
>>>>+ $(INSTALL) -t $(TARGET_DIR)/usr/share/luajit-$(LUAJIT_VERSION)/ $(@D)/syscall.lua
>>>>+ $(INSTALL) -t $(TARGET_DIR)/usr/share/luajit-$(LUAJIT_VERSION)/syscall $(@D)/syscall/*.lua
>>>>+
>>>>+ $(INSTALL) -d $(TARGET_DIR)/usr/share/luajit-$(LUAJIT_VERSION)/syscall/linux/$(LJSYSCALL_ARCH)
>>>>+ $(INSTALL) -t $(TARGET_DIR)/usr/share/luajit-$(LUAJIT_VERSION)/syscall/linux/ $(@D)/syscall/linux/*.lua
>>>>+ $(INSTALL) -t $(TARGET_DIR)/usr/share/luajit-$(LUAJIT_VERSION)/syscall/linux/$(LJSYSCALL_ARCH) $(@D)/syscall/linux/$(LJSYSCALL_ARCH)/*.lua
>>>>+endef
>>>
>>> Any specific reason why the standard install rule doesn't work?
>>
>>By "standard install rule", do you mean "$(INSTALL) -D srcfile
>>dstfile"? I couldn't get the directory creation to work while using
>>wildcards, just single files. So I just left it as-is.
>>
>>Is it the -t that offends?
>
> What I meant was 'make install' in the package directory (I'm assuming make is used)
No, this is a pure lua package, no compilation, and no makefile. You
just put all the *.lua files some place where LuaJIT will find them.
Danomi -
More information about the buildroot
mailing list