Skip to contentSkip to conversation

package/ljsyscall: fix build with aarch64

PATCH New Fabrice Fontaine 2 participants 3 messages Dec 13, 2019 – Dec 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/ljsyscall: fix build with aarch64

luajit supports aarch64 since commit
2ca0accc21a090874ac6e97670b47153a1f0a0b5

However this raise a build failure with ljsyscall because aarch64 directory does not exist so use arm64 instead

Fixes:
- http://autobuild.buildroot.org/results/3a0bd14349b3cab3e09d0b8b24ddab66dfab91ff

---
 package/ljsyscall/ljsyscall.mk | 2 ++
 1 file changed, 2 insertions(+)
package/ljsyscall/ljsyscall.mk +2 -0
index 30b5cde22a..12dfbcb4ae 100644
@@ -18,6 +18,8 @@ else ifeq ($(BR2_powerpc),y)
 LJSYSCALL_ARCH = ppc
 else ifeq ($(BR2_arm)$(BR2_armeb),y)
 LJSYSCALL_ARCH = arm
+else ifeq ($(BR2_aarch64),y)
+LJSYSCALL_ARCH = arm64
 else ifeq ($(BR2_mips)$(BR2_mipsel),y)
 LJSYSCALL_ARCH = mips
 else
Signature · 1 line
2.24.0
#1 lore raw

PATCH 2/2 package/ljsyscall: add hash for license file

---
 package/ljsyscall/ljsyscall.hash | 1 +
 1 file changed, 1 insertion(+)
package/ljsyscall/ljsyscall.hash +1 -0
index cb3bea455c..6fd7f6a519 100644
@@ -1,2 +1,3 @@
 # Locally calculated
 sha256 6e29503609bd966fed33dec1a1571b36bbdbc37bf1a828af6722ed0ead192ff1  ljsyscall-0.12.tar.gz
+sha256 c8e21d8e74afbe26c2c8e69b42327d3b48e602117f9ef7b22c31ddca6f46b1f2  COPYRIGHT
Signature · 1 line
2.24.0
#2 lore raw

PATCH 1/2 package/ljsyscall: fix build with aarch64

In reply to Fabrice Fontaine
Quoted 6 lines · On Fri, 13 Dec 2019 23:09:11 +0100 Fabrice Fontaine…

luajit supports aarch64 since commit
2ca0accc21a090874ac6e97670b47153a1f0a0b5

However this raise a build failure with ljsyscall because aarch64 directory does not exist so use arm64 instead

Quoted 7 lines

Fixes:
- http://autobuild.buildroot.org/results/3a0bd14349b3cab3e09d0b8b24ddab66dfab91ff

---
 package/ljsyscall/ljsyscall.mk | 2 ++
 1 file changed, 2 insertions(+)

Both patches applied to master. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com