diff options
author | Florian Lohoff <flo@rfc822.org> | 2008-10-04 12:15:43 +0000 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2009-01-11 18:11:50 +0100 |
commit | 9b278b0264d12e3a9c2b5468fd3333fad1fb45f5 (patch) | |
tree | 55dbc389f531d2e4db3cce738d8056d8e3b44b17 /Makefile | |
parent | 0b1d5fa90eabd98e3d69734ce1cdcef949d3fb30 (diff) |
Remove print_loadaddr and print_outputformat
replace by makefile defines
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -7,6 +7,19 @@ # default subarch SUBARCH ?= IP22 +ifeq ($(SUBARCH),IP22) +KERNELADDR=0x88002000 +MAXLOADSIZE=0x1700000 +LOADADDR=0x88802000 +OUTPUTFORMAT=ecoff-bigmips +endif +ifeq ($(SUBARCH),IP32) +KERNELADDR=0x80004000 +MAXLOADSIZE=0x1400000 +LOADADDR=0x81404000 +OUTPUTFORMAT=elf32-tradbigmips +endif + # these contain subarch independent files SUBARCH_INDEP_DIRS= \ arclib \ @@ -50,7 +63,7 @@ $(call dep-tgt,clean) endef define submake -@$(MAKE) -C $(1) SUBARCH=$(SUBARCH) $(2) +@$(MAKE) -C $(1) SUBARCH=$(SUBARCH) LOADADDR=$(LOADADDR) MAXLOADSIZE=$(MAXLOADSIZE) KERNELADDR=$(KERNELADDR) OUTPUTFORMAT=$(OUTPUTFORMAT) $(2) endef |