From: Alan Cox Date: Thu, 13 Nov 2014 21:52:04 +0000 (+0000) Subject: Makefile: allow for banking tests X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3a3e05649a9f2863c1b2a1d8161b1748a40045c8;p=FUZIX.git Makefile: allow for banking tests 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) --- diff --git a/Kernel/Makefile b/Kernel/Makefile index d59669f3..9acea527 100644 --- a/Kernel/Makefile +++ b/Kernel/Makefile @@ -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