[Buildroot] [PATCH] ljsyscall: new package

Danomi Manchego danomimanchego123 at gmail.com
Wed Sep 25 12:58:05 UTC 2013


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?



More information about the buildroot mailing list