Makefile: allow for banking tests
authorAlan Cox <alan@etchedpixels.co.uk>
Thu, 13 Nov 2014 21:52:04 +0000 (21:52 +0000)
committerAlan Cox <alan@etchedpixels.co.uk>
Thu, 13 Nov 2014 21:52:04 +0000 (21:52 +0000)
No I've no idea how I'd do the banking functions either yet, but it proves
we can build most of it (still busted for device I/O calls)

Kernel/Makefile

index d59669f..9acea52 100644 (file)
@@ -45,7 +45,7 @@ export CROSS_AS=m6809-unknown-as
 export CROSS_LD=lwlink
 export CROSS_CC = m6809-unknown-gcc
 #export CROSS_CCOPTS=-Wall -O2 -I$(ROOT_DIR)/cpu-6809 -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include
-export CROSS_CCOPTS=-c -Wall -O2 -msoft-reg-count=4 -I$(ROOT_DIR)/cpu-6809 -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include
+export CROSS_CCOPTS=-c -Wall -O2 -msoft-reg-count=4 -mfar-stack-param -I$(ROOT_DIR)/cpu-6809 -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include
 export CROSS_CC_SEG1=-mcode-section=.text -mfar-code-page=1
 export CROSS_CC_SEG2=-mcode-section=.text2 -mfar-code-page=2
 export CROSS_CC_SEGDISC=-mcode-section=.discard -mfar-code-page=3