From f307d0adafc7e35d2dc1c461d50f6572c5e6bca8 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Sat, 3 Jan 2015 15:28:33 +0100 Subject: ARM64: Add build infrastructure and initial port of interpreter. --- src/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 491aa75d..88dc8166 100644 --- a/src/Makefile +++ b/src/Makefile @@ -48,6 +48,7 @@ CCOPT= -O2 -fomit-frame-pointer CCOPT_x86= -march=i686 -msse -msse2 -mfpmath=sse CCOPT_x64= CCOPT_arm= +CCOPT_arm64= CCOPT_ppc= CCOPT_ppcspe= CCOPT_mips= @@ -217,6 +218,9 @@ else ifneq (,$(findstring LJ_TARGET_ARM ,$(TARGET_TESTARCH))) TARGET_LJARCH= arm else +ifneq (,$(findstring LJ_TARGET_ARM64 ,$(TARGET_TESTARCH))) + TARGET_LJARCH= arm64 +else ifneq (,$(findstring LJ_TARGET_PPC ,$(TARGET_TESTARCH))) TARGET_LJARCH= ppc else @@ -236,6 +240,7 @@ endif endif endif endif +endif ifneq (,$(findstring LJ_TARGET_PS3 1,$(TARGET_TESTARCH))) TARGET_SYS= PS3 @@ -402,7 +407,9 @@ ifeq (Windows,$(TARGET_SYS)) DASM_AFLAGS+= -D WIN endif ifeq (x64,$(TARGET_LJARCH)) - DASM_ARCH= x86 + ifeq (,$(findstring LJ_FR2 1,$(TARGET_TESTARCH))) + DASM_ARCH= x86 + endif else ifeq (arm,$(TARGET_LJARCH)) ifeq (iOS,$(TARGET_SYS)) -- cgit v1.2.3-55-g6feb