[Buildroot] [PATCH] ljsyscall: new package

Thomas De Schampheleire patrickdepinguin at gmail.com
Wed Sep 25 13:01:29 UTC 2013


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)

Best regards,
Thomas






More information about the buildroot mailing list