diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2007-10-30 17:53:53 +0000 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2007-10-30 17:53:53 +0000 |
commit | c4590dae6aaed753ecac00351262936084807d48 (patch) | |
tree | 6e6f9b21cbf78bbb25a222de70bbac38ba2d12f7 | |
parent | bbb2ff3cebd99df0d69f4e6f471d02ab99447f80 (diff) | |
download | coreboot-c4590dae6aaed753ecac00351262936084807d48.tar.xz |
[LINUXBIOS] Add the CPU_OPT flag to facilitate passing flags into the build
buildROM passes build flags through the CPU_OPT environment variable -
especially -fno-stack-protector for those of us lucky enough to have
Debian/Ubuntu. This adds to the cache_as_ram_auto.inc target
for the GA-2761GXDK so that the resulting cpu0.S is clean.
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2911 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | src/mainboard/gigabyte/ga_2761gxdk/Config.lb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/gigabyte/ga_2761gxdk/Config.lb b/src/mainboard/gigabyte/ga_2761gxdk/Config.lb index 46a847f769..6974de01bc 100644 --- a/src/mainboard/gigabyte/ga_2761gxdk/Config.lb +++ b/src/mainboard/gigabyte/ga_2761gxdk/Config.lb @@ -92,7 +92,7 @@ if USE_DCACHE_RAM else makerule ./cache_as_ram_auto.inc 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) -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/.text/.section .rom.text/g' -pi $@" end |