From 9e4a78931b7a24ef7ed090ba1d3f98adf909eada Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Tue, 25 Nov 2014 15:53:05 +0000 Subject: [PATCH] Makefile: put string constants from the startup into discard as well This lets us undo the buffer hack in a bit --- Kernel/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Kernel/Makefile b/Kernel/Makefile index 9acea527..60fe9d7e 100644 --- a/Kernel/Makefile +++ b/Kernel/Makefile @@ -1,9 +1,9 @@ TARGET_LIST = platform-nc100 platform-micropack platform-pcw8256 platform-socz80 platform-zx128 platform-trs80 platform-z80pack platform-z80pack-lite platform-dragon -#export TARGET= zx128 -#export CPU = z80 -export TARGET = dragon -export CPU = 6809 +export TARGET= z80pack +export CPU = z80 +#export TARGET = dragon +#export CPU = 6809 #export TARGET = 6502test #export CPU = 6502 export VERSION = "0.1" @@ -20,7 +20,7 @@ export CROSS_CC=sdcc export CROSS_CCOPTS=-c --std-sdcc99 --no-std-crt0 -mz80 -I$(ROOT_DIR)/cpu-z80 -I$(ROOT_DIR)/platform-$(TARGET) -I$(ROOT_DIR)/include --max-allocs-per-node 30000 --opt-code-size --Werror --stack-auto --constseg CONST #export CROSS_CCOPTS+=--nostdlib --nostdinc -Isdcclib/include export CROSS_CC_SEG2=--codeseg CODE2 -export CROSS_CC_SEGDISC=--codeseg DISCARD +export CROSS_CC_SEGDISC=--codeseg DISCARD --constseg DISCARD export CROSS_CC_FONT=--constseg FONT export CROSS_CC_VIDEO=--codeseg VIDEO export ASOPTS=-plosff -- 2.34.1