This patch makes the recently added assembler debug optional, as it may
cause problems with certain toolchains. This patch will also safe some hard disk space for those of us working on laptops or netbooks with always too small disks. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3876 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
94f17773ef
commit
ef6cb094b8
|
@ -10,6 +10,10 @@ makedefine GCC_INC_DIR := $(shell LC_ALL=C $(CC) -print-search-dirs | sed -ne "s
|
||||||
makedefine CPPFLAGS := -I$(TOP)/src/include -I$(TOP)/src/arch/$(ARCH)/include -I$(GCC_INC_DIR) $(CPUFLAGS)
|
makedefine CPPFLAGS := -I$(TOP)/src/include -I$(TOP)/src/arch/$(ARCH)/include -I$(GCC_INC_DIR) $(CPUFLAGS)
|
||||||
makedefine CFLAGS := $(CPU_OPT) $(DISTRO_CFLAGS) $(CPPFLAGS) -Os -nostdinc -nostdlib -fno-builtin -Wall
|
makedefine CFLAGS := $(CPU_OPT) $(DISTRO_CFLAGS) $(CPPFLAGS) -Os -nostdinc -nostdlib -fno-builtin -Wall
|
||||||
|
|
||||||
|
if ASSEMBLER_DEBUG
|
||||||
|
makedefine DEBUG_CFLAGS := -g -dA -fverbose-asm
|
||||||
|
end
|
||||||
|
|
||||||
makedefine HOSTCFLAGS:= -Os -Wall
|
makedefine HOSTCFLAGS:= -Os -Wall
|
||||||
|
|
||||||
makerule ldscript.ld
|
makerule ldscript.ld
|
||||||
|
|
|
@ -501,7 +501,11 @@ define CONFIG_USE_PRINTK_IN_CAR
|
||||||
export always
|
export always
|
||||||
comment "use printk instead of print in CAR stage code"
|
comment "use printk instead of print in CAR stage code"
|
||||||
end
|
end
|
||||||
|
define ASSEMBLER_DEBUG
|
||||||
|
default none
|
||||||
|
export used
|
||||||
|
comment "Create disassembly files for debugging"
|
||||||
|
end
|
||||||
|
|
||||||
###############################################
|
###############################################
|
||||||
# Mainboard options
|
# Mainboard options
|
||||||
|
|
|
@ -113,7 +113,7 @@ if USE_DCACHE_RAM
|
||||||
#compile cache_as_ram.c to auto.inc
|
#compile cache_as_ram.c to auto.inc
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -54,7 +54,7 @@ if USE_DCACHE_RAM
|
||||||
#compile cache_as_ram.c to auto.inc
|
#compile cache_as_ram.c to auto.inc
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -96,7 +96,7 @@ if USE_DCACHE_RAM
|
||||||
|
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -56,7 +56,7 @@ if USE_DCACHE_RAM
|
||||||
#compile cache_as_ram.c to auto.inc
|
#compile cache_as_ram.c to auto.inc
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -96,7 +96,7 @@ if USE_DCACHE_RAM
|
||||||
|
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -135,7 +135,7 @@ if USE_DCACHE_RAM
|
||||||
#compile cache_as_ram.c to auto.inc
|
#compile cache_as_ram.c to auto.inc
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -143,7 +143,7 @@ if USE_DCACHE_RAM
|
||||||
#compile cache_as_ram.c to auto.inc
|
#compile cache_as_ram.c to auto.inc
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/$(CACHE_AS_RAM_AUTO_C) option_table.h"
|
depends "$(MAINBOARD)/$(CACHE_AS_RAM_AUTO_C) option_table.h"
|
||||||
action "$(CC) -I$(TOP)/src -I. $(CFLAGS) $(CPPFLAGS) $(MAINBOARD)/$(CACHE_AS_RAM_AUTO_C) -Os -nostdinc -nostdlib -fno-builtin -g -dA -fverbose-asm -Wall -c -S -o $@"
|
action "$(CC) -I$(TOP)/src -I. $(CFLAGS) $(CPPFLAGS) $(MAINBOARD)/$(CACHE_AS_RAM_AUTO_C) -Os -nostdinc -nostdlib -fno-builtin $(DEBUG_CFLAGS) -Wall -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -59,7 +59,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -52,7 +52,7 @@ if USE_DCACHE_RAM
|
||||||
#compile cache_as_ram.c to auto.inc
|
#compile cache_as_ram.c to auto.inc
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -63,7 +63,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -61,7 +61,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -63,7 +63,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -63,7 +63,7 @@ if USE_DCACHE_RAM
|
||||||
|
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -52,7 +52,7 @@ if USE_DCACHE_RAM
|
||||||
#compile cache_as_ram.c to auto.inc
|
#compile cache_as_ram.c to auto.inc
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -92,7 +92,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(CPU_OPT) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -g -dA -fverbose-asm -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(CPU_OPT) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin $(DEBUG_CFLAGS) -Wall -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -90,7 +90,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -60,7 +60,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -60,7 +60,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -40,7 +40,7 @@ if USE_DCACHE_RAM
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
# depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
# depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -142,7 +142,7 @@ if USE_DCACHE_RAM
|
||||||
#compile cache_as_ram.c to auto.inc
|
#compile cache_as_ram.c to auto.inc
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -63,7 +63,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -60,7 +60,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -101,7 +101,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/auto.c option_table.h"
|
depends "$(MAINBOARD)/auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/auto.c -Os -nostdinc -nostdlib -fno-builtin -g -dA -fverbose-asm -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/auto.c -Os -nostdinc -nostdlib -fno-builtin $(DEBUG_CFLAGS) -Wall -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -74,7 +74,7 @@ if USE_DCACHE_RAM
|
||||||
# compile cache_as_ram.c to auto.inc
|
# compile cache_as_ram.c to auto.inc
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -99,7 +99,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -g -dA -fverbose-asm -Wall -c -S -o $@"
|
action "$(CC) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin $(DEBUG_CFLAGS) -Wall -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -63,7 +63,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -90,7 +90,7 @@ if USE_DCACHE_RAM
|
||||||
#compile cache_as_ram.c to auto.inc
|
#compile cache_as_ram.c to auto.inc
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -88,7 +88,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -60,7 +60,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -121,7 +121,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -72,7 +72,7 @@ if USE_DCACHE_RAM
|
||||||
#compile cache_as_ram.c to auto.inc
|
#compile cache_as_ram.c to auto.inc
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -57,7 +57,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -90,7 +90,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -57,7 +57,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -58,7 +58,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -58,7 +58,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -58,7 +58,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -57,7 +57,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -58,7 +58,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -58,7 +58,7 @@ else
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -61,7 +61,7 @@ if CONFIG_USE_INIT
|
||||||
else
|
else
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -61,7 +61,7 @@ if CONFIG_USE_INIT
|
||||||
else
|
else
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -70,7 +70,7 @@ if CONFIG_USE_INIT
|
||||||
else
|
else
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -91,7 +91,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -92,7 +92,7 @@ if USE_DCACHE_RAM
|
||||||
else
|
else
|
||||||
makerule ./cache_as_ram_auto.inc
|
makerule ./cache_as_ram_auto.inc
|
||||||
depends "$(MAINBOARD)/$(CACHE_AS_RAM_AUTO_C) option_table.h"
|
depends "$(MAINBOARD)/$(CACHE_AS_RAM_AUTO_C) option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CFLAGS) $(CPPFLAGS) $(MAINBOARD)/$(CACHE_AS_RAM_AUTO_C) -Os -nostdinc -nostdlib -fno-builtin -g -dA -fverbose-asm -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CFLAGS) $(CPPFLAGS) $(MAINBOARD)/$(CACHE_AS_RAM_AUTO_C) -Os -nostdinc -nostdlib -fno-builtin $(DEBUG_CFLAGS) -Wall -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -56,7 +56,7 @@ if USE_DCACHE_RAM
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
|
@ -56,7 +56,7 @@ if USE_DCACHE_RAM
|
||||||
|
|
||||||
makerule ./auto.inc
|
makerule ./auto.inc
|
||||||
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
depends "$(MAINBOARD)/cache_as_ram_auto.c option_table.h"
|
||||||
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -g -dA -fverbose-asm -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall $(DEBUG_CFLAGS) -c -S -o $@"
|
||||||
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
action "perl -e 's/\.rodata/.rom.data/g' -pi $@"
|
||||||
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
action "perl -e 's/\.text/.section .rom.text/g' -pi $@"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue