aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/Makefile
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2015-09-13 12:54:05 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2015-09-13 12:54:05 +0200
commiteb7df31e2d14ccbb5f6d1021486acd3998095197 (patch)
tree7d08c9b9860e7c1323093c44d98ac637e17c5b62 /runtime/Makefile
parent73dc3e015d91580957a8e30ead44625cec030cdb (diff)
downloadcompcert-kvx-eb7df31e2d14ccbb5f6d1021486acd3998095197.tar.gz
compcert-kvx-eb7df31e2d14ccbb5f6d1021486acd3998095197.zip
VPATH setting for PowerPC
Diffstat (limited to 'runtime/Makefile')
-rw-r--r--runtime/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/Makefile b/runtime/Makefile
index 2fe32881..99eeaa54 100644
--- a/runtime/Makefile
+++ b/runtime/Makefile
@@ -9,7 +9,15 @@ LIB=libcompcert.a
INCLUDES=include/float.h include/stdarg.h include/stdbool.h \
include/stddef.h include/varargs.h
-VPATH=$(ARCH)/$(MODEL) $(ARCH)
+VPATH=$(ARCH)
+
+ifeq ($(ARCH),powerpc)
+ifeq ($(MODEL),ppc64)
+VPATH=powerpc/ppc64 $(ARCH)
+else ifeq ($(MODEL),e5500)
+VPATH=powerpc/ppc64 $(ARCH)
+endif
+endif
ifeq ($(strip $(HAS_RUNTIME_LIB)),true)
all: $(LIB)