summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Mohr <manuel.mohr@kit.edu>2013-11-27 12:42:56 +0100
committerManuel Mohr <manuel.mohr@kit.edu>2013-11-27 12:44:46 +0100
commitbb06136be60d944cd58674c5f70d61d155369f0c (patch)
treefce7fd32d019a92a6eacb56e6af14e3b02aee5a1
parentaaf0fa97c55f2357838655afd2295c9ac89491a6 (diff)
Fix target sparc-invasic-irtss.
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index cd9e7f6..be6df48 100644
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,7 @@ ifeq ($(findstring x86_64, $(TARGET)), x86_64)
CFLAGS += -m32
endif
ifeq ($(findstring sparc, $(TARGET)), sparc)
- CFLAGS += -msoft-float
+ EXTRA_OBJECTS += src/sparc_mach_dep.o
endif
# Operating-system-specific stuff
@@ -95,9 +95,8 @@ ifeq ($(findstring sparc-invasic, $(TARGET)), sparc-invasic)
OCTOPOS_BASE = ../octopos-app/releases/$(OCTOPOS_RELEASE)/$(OCTOPOS_ARCH)/$(OCTOPOS_VARIANT)
GCC_INCLUDE = $(shell $(CC) --print-file-name=include)
+ CFLAGS += -msoft-float
CPPFLAGS += -D__leon__ -I $(OCTOPOS_BASE)/include -isystem $(GCC_INCLUDE)
-
- EXTRA_OBJECTS = src/sparc_mach_dep.o
endif
BUILDDIR = build/$(TARGET)