This patch fixes the remaining stack protector problem on v2. The DISTRO_CFLAGS were not being
included on the CC line for cache_as_ram_auto.c Tested on ubuntu, where formerly it failed. Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Corey Osgood <corey.osgood@gmail.com> Acked-by: Ward Vandewege <ward@gnu.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3079 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
2db9464299
commit
25a37449c5
|
@ -106,14 +106,14 @@ if USE_DCACHE_RAM
|
||||||
# compile cache_as_ram.c to auto.o
|
# compile cache_as_ram.c to auto.o
|
||||||
makerule ./cache_as_ram_auto.o
|
makerule ./cache_as_ram_auto.o
|
||||||
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 -Wall -c -o cache_as_ram_auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o cache_as_ram_auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
#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. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -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) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
#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. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -128,14 +128,14 @@ if USE_DCACHE_RAM
|
||||||
# compile cache_as_ram.c to auto.o
|
# compile cache_as_ram.c to auto.o
|
||||||
makerule ./cache_as_ram_auto.o
|
makerule ./cache_as_ram_auto.o
|
||||||
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 -Wall -c -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
#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. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -52,14 +52,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -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) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -93,12 +93,12 @@ if USE_DCACHE_RAM
|
||||||
if CONFIG_USE_INIT
|
if CONFIG_USE_INIT
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
|
||||||
end
|
end
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -83,12 +83,12 @@ if USE_DCACHE_RAM
|
||||||
if CONFIG_USE_INIT
|
if CONFIG_USE_INIT
|
||||||
makerule ./cache_as_ram_auto.o
|
makerule ./cache_as_ram_auto.o
|
||||||
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 -Wall -c -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
|
||||||
end
|
end
|
||||||
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) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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,14 +56,14 @@ if USE_DCACHE_RAM
|
||||||
|
|
||||||
makerule ./cache_as_ram_auto.o
|
makerule ./cache_as_ram_auto.o
|
||||||
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 -Wall -c -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
|
||||||
end
|
end
|
||||||
|
|
||||||
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) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -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) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -87,12 +87,12 @@ if USE_DCACHE_RAM
|
||||||
if CONFIG_USE_INIT
|
if CONFIG_USE_INIT
|
||||||
makerule ./cache_as_ram_auto.o
|
makerule ./cache_as_ram_auto.o
|
||||||
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 -Wall -c -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
|
||||||
end
|
end
|
||||||
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) -I$(TOP)/src -I. $(CPPFLAGS) $(CPU_OPT) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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 -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
|
||||||
|
|
|
@ -85,12 +85,12 @@ if USE_DCACHE_RAM
|
||||||
if CONFIG_USE_INIT
|
if CONFIG_USE_INIT
|
||||||
makerule ./cache_as_ram_auto.o
|
makerule ./cache_as_ram_auto.o
|
||||||
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 -Wall -c -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
|
||||||
end
|
end
|
||||||
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) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -53,14 +53,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -53,14 +53,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -135,14 +135,14 @@ if USE_DCACHE_RAM
|
||||||
# compile cache_as_ram.c to auto.o
|
# compile cache_as_ram.c to auto.o
|
||||||
makerule ./cache_as_ram_auto.o
|
makerule ./cache_as_ram_auto.o
|
||||||
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 -Wall -c -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
#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. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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,14 +56,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -53,14 +53,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -58,12 +58,12 @@ if USE_DCACHE_RAM
|
||||||
if CONFIG_USE_INIT
|
if CONFIG_USE_INIT
|
||||||
makerule ./cache_as_ram_auto.o
|
makerule ./cache_as_ram_auto.o
|
||||||
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 -Wall -c -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
|
||||||
end
|
end
|
||||||
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) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -83,14 +83,14 @@ if USE_DCACHE_RAM
|
||||||
# compile cache_as_ram.c to auto.o
|
# compile cache_as_ram.c to auto.o
|
||||||
makerule ./cache_as_ram_auto.o
|
makerule ./cache_as_ram_auto.o
|
||||||
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 -Wall -c -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
|
||||||
end
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
#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. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -81,14 +81,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -53,14 +53,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -116,12 +116,12 @@ if USE_DCACHE_RAM
|
||||||
if CONFIG_USE_INIT
|
if CONFIG_USE_INIT
|
||||||
makerule ./cache_as_ram_auto.o
|
makerule ./cache_as_ram_auto.o
|
||||||
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 -Wall -c -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
|
||||||
end
|
end
|
||||||
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) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -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) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -52,12 +52,12 @@ if USE_DCACHE_RAM
|
||||||
if CONFIG_USE_INIT
|
if CONFIG_USE_INIT
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -85,12 +85,12 @@ if USE_DCACHE_RAM
|
||||||
if CONFIG_USE_INIT
|
if CONFIG_USE_INIT
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -50,14 +50,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -51,14 +51,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -51,14 +51,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -51,14 +51,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -50,14 +50,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -51,14 +51,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -51,14 +51,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -57,14 +57,14 @@ if USE_DCACHE_RAM
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -57,14 +57,14 @@ if CONFIG_USE_INIT
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -64,12 +64,12 @@ if USE_DCACHE_RAM
|
||||||
if CONFIG_USE_INIT
|
if CONFIG_USE_INIT
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -86,12 +86,12 @@ if USE_DCACHE_RAM
|
||||||
if CONFIG_USE_INIT
|
if CONFIG_USE_INIT
|
||||||
makerule ./cache_as_ram_auto.o
|
makerule ./cache_as_ram_auto.o
|
||||||
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 -Wall -c -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
|
||||||
end
|
end
|
||||||
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) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -49,14 +49,14 @@ if USE_DCACHE_RAM
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
|
@ -49,14 +49,14 @@ if USE_DCACHE_RAM
|
||||||
|
|
||||||
makerule ./auto.o
|
makerule ./auto.o
|
||||||
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 -Wall -c -o auto.o"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o auto.o"
|
||||||
end
|
end
|
||||||
|
|
||||||
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 -Wall -c -S -o $@"
|
action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -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
|
||||||
|
|
Loading…
Reference in New Issue