aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Lohoff <flo@rfc822.org>2008-11-29 12:16:56 +0000
committerGuido Günther <agx@sigxcpu.org>2009-04-26 15:26:27 +0200
commit7b4ca7013c58a67f1ec41478b1bfc250b3485d28 (patch)
treef759f75d5ac13dda6c581c3f6357d976b6cb593a /Makefile
parent4ce5705be57a10598775d14cc1b8a6296df9c653 (diff)
Add basic SNIRM support
Add basic SNIRM support - Currently has a hardcoded boot location but you get the idea.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7bac668..bae197b 100644
--- a/Makefile
+++ b/Makefile
@@ -12,12 +12,21 @@ KERNELADDR=0x88002000
MAXLOADSIZE=0x1700000
LOADADDR=0x88802000
OUTPUTFORMAT=ecoff-bigmips
+ARCHLIB=arclib
endif
ifeq ($(SUBARCH),IP32)
KERNELADDR=0x80004000
MAXLOADSIZE=0x1400000
LOADADDR=0x81404000
OUTPUTFORMAT=elf32-tradbigmips
+ARCHLIB=arclib
+endif
+ifeq ($(SUBARCH),SNIRM)
+KERNELADDR=0x80030000
+MAXLOADSIZE=0x400000
+LOADADDR=0x80e00000
+OUTPUTFORMAT=elf32-tradbigmips
+ARCHLIB=snilib
endif
# these contain subarch independent files
@@ -26,7 +35,7 @@ SUBARCH_INDEP_DIRS= \
# these contain subarch dependent files
SUBARCH_DIRS= \
common \
- arclib \
+ $(ARCHLIB) \
ext2load \
tip22