aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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