summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Hellstrom <daniel@gaisler.com>2008-03-28 09:47:00 +0100
committerDaniel Hellstrom <daniel@gaisler.com>2008-04-08 07:58:32 +0000
commitc2f02da21a3f37f0878554eebc785e04fdc4e128 (patch)
tree169e423067d8298e0568ff7b13c5419185008b38 /Makefile
parentaeff6d503b6006573d5c6b04fc658a64bebee5fa (diff)
downloadtalos-obmc-uboot-c2f02da21a3f37f0878554eebc785e04fdc4e128.tar.gz
talos-obmc-uboot-c2f02da21a3f37f0878554eebc785e04fdc4e128.zip
SPARC: Added generic support for SPARC architecture.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a7f886b489..7219e7a318 100644
--- a/Makefile
+++ b/Makefile
@@ -165,7 +165,10 @@ CROSS_COMPILE = avr32-linux-
endif
ifeq ($(ARCH),sh)
CROSS_COMPILE = sh4-linux-
-endif # sh
+endif
+ifeq ($(ARCH),sparc)
+CROSS_COMPILE = sparc-elf-
+endif # sparc
endif # HOSTARCH,ARCH
endif # CROSS_COMPILE
@@ -2892,6 +2895,10 @@ r2dplus_config : unconfig
@echo "#define CONFIG_R2DPLUS 1" >> include/config.h
@./mkconfig -a $(@:_config=) sh sh4 r2dplus
+#========================================================================
+# SPARC
+#========================================================================
+
#########################################################################
#########################################################################
#########################################################################
OpenPOWER on IntegriCloud