From 361827c8f986a73cdccfc98ad16fe9f33ed6fb25 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Fri, 6 Mar 2015 03:47:45 +0100 Subject: PPC64: Add build infrastructure. --- src/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 71ab6ea0..d7539fd5 100644 --- a/src/Makefile +++ b/src/Makefile @@ -421,12 +421,15 @@ ifeq (ppc,$(TARGET_LJARCH)) ifneq (,$(findstring LJ_ARCH_ROUND 1,$(TARGET_TESTARCH))) DASM_AFLAGS+= -D ROUND endif - ifneq (,$(findstring LJ_ARCH_PPC64 1,$(TARGET_TESTARCH))) + ifneq (,$(findstring LJ_ARCH_PPC32ON64 1,$(TARGET_TESTARCH))) DASM_AFLAGS+= -D GPR64 endif ifeq (PS3,$(TARGET_SYS)) DASM_AFLAGS+= -D PPE -D TOC endif + ifneq (,$(findstring LJ_ARCH_PPC64 ,$(TARGET_TESTARCH))) + DASM_ARCH= ppc64 + endif endif endif endif -- cgit v1.2.3-55-g6feb