Skip to contentSkip to conversation

ljsyscall: new package

PATCH New Danomi Manchego 3 participants 10 messages Sep 25, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ljsyscall: new package

An FFI implementation of the Linux and NetBSD kernel ABIs for LuaJIT.

---

Note: this package requires LuaJIT specifically, so there is a depends-on in the ljsyscall/Config.in, even though though it is included from a menu with a "if BR2_PACKAGE_LUA || BR2_PACKAGE_LUAJIT" test around it.

---
 package/Config.in              |    1 +
 package/ljsyscall/Config.in    |    8 ++++++++
 package/ljsyscall/ljsyscall.mk |   36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+)
 create mode 100644 package/ljsyscall/Config.in
 create mode 100644 package/ljsyscall/ljsyscall.mk
package/Config.in +1 -0
index 1dd60d1..457e5ad 100644
@@ -355,6 +355,7 @@ source "package/cgilua/Config.in"
 source "package/copas/Config.in"
 source "package/coxpcall/Config.in"
 source "package/lbase64/Config.in"
+source "package/ljsyscall/Config.in"
 source "package/luabitop/Config.in"
 source "package/luacjson/Config.in"
 source "package/luacrypto/Config.in"
package/ljsyscall/Config.in new file +8 -0
new file mode 100644
index 0000000..0bed738
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LJSYSCALL
+	bool "ljsyscall"
+	# ljsyscall is specifically for LuaJIT, not Lua.
+	depends on BR2_PACKAGE_LUAJIT
+	help
+	  An FFI implementation of the Linux and NetBSD kernel ABIs for LuaJIT.
+
+	  http://github.com/justincormack/ljsyscall
package/ljsyscall/ljsyscall.mk new file +36 -0
new file mode 100644
index 0000000..25a5ec9
@@ -0,0 +1,36 @@
+################################################################################
+#
+# ljsyscall
+#
+################################################################################
+
+LJSYSCALL_VERSION = v0.8
+LJSYSCALL_SITE = http://github.com/justincormack/ljsyscall/tarball/$(LJSYSCALL_VERSION)
+LJSYSCALL_DEPENDENCIES = luajit
+LJSYSCALL_LICENSE = MIT
+LJSYSCALL_LICENSE_FILES = COPYRIGHT
+
+ifeq ($(BR2_i386),y)
+LJSYSCALL_ARCH = x86
+endif
+ifeq ($(BR2_x86_64),y)
+LJSYSCALL_ARCH = x64
+endif
+ifeq ($(BR2_powerpc),y)
+LJSYSCALL_ARCH = ppc
+endif
+ifeq ($(LJSYSCALL_ARCH),)
+LJSYSCALL_ARCH = $(BR2_ARCH)
+endif
+
+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
+
+$(eval $(generic-package))
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 ljsyscall: new package

Quoted 73 lines · Danomi Manchego

An FFI implementation of the Linux and NetBSD kernel ABIs for LuaJIT.

---

Note: this package requires LuaJIT specifically, so there is a depends-on in the ljsyscall/Config.in, even though though it is included from a menu with a "if BR2_PACKAGE_LUA || BR2_PACKAGE_LUAJIT" test around it.
---

package/Config.in              |    1 +
package/ljsyscall/Config.in    |    8 ++++++++
package/ljsyscall/ljsyscall.mk |   36 ++++++++++++++++++++++++++++++++++++
3 files changed, 45 insertions(+)

create mode 100644 package/ljsyscall/Config.in
create mode 100644 package/ljsyscall/ljsyscall.mk

package/Config.in +0 -0
index 1dd60d1..457e5ad 100644
@@ -355,6 +355,7 @@ source "package/cgilua/Config.in"

source "package/copas/Config.in"
source "package/coxpcall/Config.in"
source "package/lbase64/Config.in"
+source "package/ljsyscall/Config.in"
source "package/luabitop/Config.in"
source "package/luacjson/Config.in"
source "package/luacrypto/Config.in"

package/ljsyscall/Config.in new file +8 -0
new file mode 100644
index 0000000..0bed738
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LJSYSCALL
+	bool "ljsyscall"
+	# ljsyscall is specifically for LuaJIT, not Lua.
+	depends on BR2_PACKAGE_LUAJIT
+	help
+	  An FFI implementation of the Linux and NetBSD kernel ABIs for LuaJIT.
+
+	  http://github.com/justincormack/ljsyscall
package/ljsyscall/ljsyscall.mk new file +24 -0
new file mode 100644
index 0000000..25a5ec9
@@ -0,0 +1,36 @@
+################################################################################
+#
+# ljsyscall
+#
+################################################################################
+
+LJSYSCALL_VERSION = v0.8
+LJSYSCALL_SITE = http://github.com/justincormack/ljsyscall/tarball/$(LJSYSCALL_VERSION)
+LJSYSCALL_DEPENDENCIES = luajit
+LJSYSCALL_LICENSE = MIT
+LJSYSCALL_LICENSE_FILES = COPYRIGHT
+
+ifeq ($(BR2_i386),y)
+LJSYSCALL_ARCH = x86
+endif
+ifeq ($(BR2_x86_64),y)
+LJSYSCALL_ARCH = x64
+endif
+ifeq ($(BR2_powerpc),y)
+LJSYSCALL_ARCH = ppc
+endif
+ifeq ($(LJSYSCALL_ARCH),)
+LJSYSCALL_ARCH = $(BR2_ARCH)
+endif

package/ljsyscall/ljsyscall.mk line 34

Quoted 10 lines
package/ljsyscall/ljsyscall.mk new file +10 -0
+
+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?

package/ljsyscall/ljsyscall.mk line 36

Quoted 2 lines
package/ljsyscall/ljsyscall.mk new file +2 -0
+
+$(eval $(generic-package))

Best regards,
Thomas

#2 lore raw

PATCH 1/1 ljsyscall: new package

Thomas,

Quoted 11 lines · Thomas De Schampheleire

package/ljsyscall/ljsyscall.mk line 34

Quoted 9 lines
package/ljsyscall/ljsyscall.mk new file +9 -0
+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?

#3 lore raw

PATCH 1/1 ljsyscall: new package

Quoted 16 lines · Danomi Manchego

Thomas,

Quoted 11 lines · Thomas De Schampheleire

package/ljsyscall/ljsyscall.mk line 34

Quoted 9 lines
package/ljsyscall/ljsyscall.mk new file +9 -0
+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?

Quoted 5 lines

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

#4 lore raw

PATCH 1/1 ljsyscall: new package

Thomas,

Quoted 17 lines · Thomas De Schampheleire
Quoted 16 lines · Danomi Manchego

Thomas,

Quoted 11 lines · Thomas De Schampheleire

package/ljsyscall/ljsyscall.mk line 34

Quoted 9 lines
package/ljsyscall/ljsyscall.mk new file +9 -0
+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?

Quoted 7 lines
Quoted 5 lines

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 -

#5 lore raw

PATCH 1/1 ljsyscall: new package

Quoted 1 line · Danomi Manchego

Thomas,

snip

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 1 line

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.

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

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.

Ok, thanks for the clarification.

Best regards,
Thomas

#6 lore raw

PATCH 1/1 ljsyscall: new package

In reply to Danomi Manchego

2013/9/25 Danomi Manchego <[email protected]>:

Quoted 35 lines

An FFI implementation of the Linux and NetBSD kernel ABIs for LuaJIT.

---

Note: this package requires LuaJIT specifically, so there is a depends-on in the ljsyscall/Config.in, even though though it is included from a menu with a "if BR2_PACKAGE_LUA || BR2_PACKAGE_LUAJIT" test around it.

---
 package/Config.in              |    1 +
 package/ljsyscall/Config.in    |    8 ++++++++
 package/ljsyscall/ljsyscall.mk |   36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+)
 create mode 100644 package/ljsyscall/Config.in
 create mode 100644 package/ljsyscall/ljsyscall.mk
package/Config.in +1 -0
index 1dd60d1..457e5ad 100644
@@ -355,6 +355,7 @@ source "package/cgilua/Config.in"
 source "package/copas/Config.in"
 source "package/coxpcall/Config.in"
 source "package/lbase64/Config.in"
+source "package/ljsyscall/Config.in"
 source "package/luabitop/Config.in"
 source "package/luacjson/Config.in"
 source "package/luacrypto/Config.in"
package/ljsyscall/Config.in new file +0 -0
new file mode 100644
index 0000000..0bed738

package/ljsyscall/Config.in line 4

Quoted 4 lines
package/ljsyscall/Config.in new file +4 -0
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LJSYSCALL
+       bool "ljsyscall"
+       # ljsyscall is specifically for LuaJIT, not Lua.
+       depends on BR2_PACKAGE_LUAJIT

not available on all architecture

    depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_powerpc || BR2_mips

Fran?ois

Quoted 53 lines
package/ljsyscall/Config.in new file +4 -0
+       help
+         An FFI implementation of the Linux and NetBSD kernel ABIs for LuaJIT.
+
+         http://github.com/justincormack/ljsyscall
package/ljsyscall/ljsyscall.mk new file +36 -1
new file mode 100644
index 0000000..25a5ec9
@@ -0,0 +1,36 @@
+################################################################################
+#
+# ljsyscall
+#
+################################################################################
+
+LJSYSCALL_VERSION = v0.8
+LJSYSCALL_SITE = http://github.com/justincormack/ljsyscall/tarball/$(LJSYSCALL_VERSION)
+LJSYSCALL_DEPENDENCIES = luajit
+LJSYSCALL_LICENSE = MIT
+LJSYSCALL_LICENSE_FILES = COPYRIGHT
+
+ifeq ($(BR2_i386),y)
+LJSYSCALL_ARCH = x86
+endif
+ifeq ($(BR2_x86_64),y)
+LJSYSCALL_ARCH = x64
+endif
+ifeq ($(BR2_powerpc),y)
+LJSYSCALL_ARCH = ppc
+endif
+ifeq ($(LJSYSCALL_ARCH),)
+LJSYSCALL_ARCH = $(BR2_ARCH)
+endif
+
+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
+
+$(eval $(generic-package))
--

1.7.9.5

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#7 lore raw

PATCH 1/1 ljsyscall: new package

Fran?ois,

On Wed, Sep 25, 2013 at 7:31 AM, Fran?ois Perrad >> diff --git a/package/ljsyscall/Config.in b/package/ljsyscall/Config.in

Quoted 11 lines

package/ljsyscall/Config.in line 4

Quoted 9 lines

new file mode 100644
index 0000000..0bed738

package/ljsyscall/Config.in new file +4 -0
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LJSYSCALL
+       bool "ljsyscall"
+       # ljsyscall is specifically for LuaJIT, not Lua.
+       depends on BR2_PACKAGE_LUAJIT

not available on all architecture

Quoted 1 line
    depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_powerpc || BR2_mips

True - but those conditions are already in LuaJIT, except even more restrictive, so I didn't bother. But I take the point, will add.

From your other email: points taken, I'll remove the LuaJIT dependency and the add -m0644.

Danomi -

#8 lore raw

PATCH 1/1 ljsyscall: new package

2013/9/25 Danomi Manchego <[email protected]>:

Quoted 17 lines

Fran?ois,

On Wed, Sep 25, 2013 at 7:31 AM, Fran?ois Perrad >> diff --git a/package/ljsyscall/Config.in b/package/ljsyscall/Config.in

Quoted 11 lines

package/ljsyscall/Config.in line 4

Quoted 9 lines

new file mode 100644
index 0000000..0bed738

package/ljsyscall/Config.in new file +4 -0
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LJSYSCALL
+       bool "ljsyscall"
+       # ljsyscall is specifically for LuaJIT, not Lua.
+       depends on BR2_PACKAGE_LUAJIT

not available on all architecture

Quoted 1 line
    depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_powerpc || BR2_mips
Quoted 3 lines

True - but those conditions are already in LuaJIT, except even more restrictive, so I didn't bother. But I take the point, will add.

You are right, conditions are already in LuaJIT.
Them don't need duplication.

Fran?ois

Quoted 5 lines

From your other email: points taken, I'll remove the LuaJIT dependency and the add -m0644.

Danomi -

#9 lore raw

PATCH 1/1 ljsyscall: new package

In reply to Danomi Manchego

2013/9/25 Danomi Manchego <[email protected]>:

Quoted 49 lines

An FFI implementation of the Linux and NetBSD kernel ABIs for LuaJIT.

---

Note: this package requires LuaJIT specifically, so there is a depends-on in the ljsyscall/Config.in, even though though it is included from a menu with a "if BR2_PACKAGE_LUA || BR2_PACKAGE_LUAJIT" test around it.

---
 package/Config.in              |    1 +
 package/ljsyscall/Config.in    |    8 ++++++++
 package/ljsyscall/ljsyscall.mk |   36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+)
 create mode 100644 package/ljsyscall/Config.in
 create mode 100644 package/ljsyscall/ljsyscall.mk
package/Config.in +1 -0
index 1dd60d1..457e5ad 100644
@@ -355,6 +355,7 @@ source "package/cgilua/Config.in"
 source "package/copas/Config.in"
 source "package/coxpcall/Config.in"
 source "package/lbase64/Config.in"
+source "package/ljsyscall/Config.in"
 source "package/luabitop/Config.in"
 source "package/luacjson/Config.in"
 source "package/luacrypto/Config.in"
package/ljsyscall/Config.in new file +8 -0
new file mode 100644
index 0000000..0bed738
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LJSYSCALL
+       bool "ljsyscall"
+       # ljsyscall is specifically for LuaJIT, not Lua.
+       depends on BR2_PACKAGE_LUAJIT
+       help
+         An FFI implementation of the Linux and NetBSD kernel ABIs for LuaJIT.
+
+         http://github.com/justincormack/ljsyscall
package/ljsyscall/ljsyscall.mk new file +0 -0
new file mode 100644
index 0000000..25a5ec9

package/ljsyscall/ljsyscall.mk line 9

Quoted 9 lines
package/ljsyscall/ljsyscall.mk new file +9 -0
@@ -0,0 +1,36 @@
+################################################################################
+#
+# ljsyscall
+#
+################################################################################
+
+LJSYSCALL_VERSION = v0.8
+LJSYSCALL_SITE = http://github.com/justincormack/ljsyscall/tarball/$(LJSYSCALL_VERSION)
+LJSYSCALL_DEPENDENCIES = luajit

this built time dependency is useless.

Quoted 14 lines
package/ljsyscall/ljsyscall.mk new file +14 -0
+LJSYSCALL_LICENSE = MIT
+LJSYSCALL_LICENSE_FILES = COPYRIGHT
+
+ifeq ($(BR2_i386),y)
+LJSYSCALL_ARCH = x86
+endif
+ifeq ($(BR2_x86_64),y)
+LJSYSCALL_ARCH = x64
+endif
+ifeq ($(BR2_powerpc),y)
+LJSYSCALL_ARCH = ppc
+endif
+ifeq ($(LJSYSCALL_ARCH),)
+LJSYSCALL_ARCH = $(BR2_ARCH)

package/ljsyscall/ljsyscall.mk line 33

Quoted 10 lines
package/ljsyscall/ljsyscall.mk new file +10 -0
+endif
+
+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

the 'x' bit is not needed for *.lua files, so use $(INSTALL) with -m 0644

Fran?ois

Quoted 10 lines
package/ljsyscall/ljsyscall.mk new file +3 -1
+endef
+
+$(eval $(generic-package))
--

1.7.9.5

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot