summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Mohr <manuel.mohr@kit.edu>2015-09-16 10:18:07 +0200
committerManuel Mohr <manuel.mohr@kit.edu>2015-09-16 10:18:07 +0200
commit887d8bf4c8297dfcdc873689106e85a518f00639 (patch)
tree4c92840f550dfb13154c26e1bd039bf995332ff8
parent69fe9cec36f0ba581ce7347941442f21a328117e (diff)
Makefile support for OctoPOS x64native.
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a822490..3a0e0e6 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,14 @@ ifeq ($(findstring i686-invasic, $(TARGET)), i686-invasic)
CFLAGS += -mfpmath=sse -msse2 -m32
CPPFLAGS += -I$(OCTOPOS_BASE)/include -isystem $(GCC_INCLUDE)
endif
+ifeq ($(findstring x86_64-invasic, $(TARGET)), x86_64-invasic)
+ OCTOPOS_ARCH = x64native
+ OCTOPOS_VARIANT = default
+ OCTOPOS_BASE = ../octopos-app/releases/$(OCTOPOS_RELEASE)/$(OCTOPOS_ARCH)/$(OCTOPOS_VARIANT)
+ GCC_INCLUDE = $(shell $(CC) --print-file-name=include)
+
+ CPPFLAGS += -I$(OCTOPOS_BASE)/include -isystem $(GCC_INCLUDE)
+endif
ifeq ($(findstring sparc-invasic, $(TARGET)), sparc-invasic)
OCTOPOS_ARCH = leon
OCTOPOS_VARIANT = default