[LinuxBIOS] r2911 - trunk/LinuxBIOSv2/src/mainboard/gigabyte/ga_2761gxdk
svn at openbios.org
svn at openbios.org
Tue Oct 30 18:53:53 CET 2007
Author: jcrouse
Date: 2007-10-30 18:53:53 +0100 (Tue, 30 Oct 2007)
New Revision: 2911
Modified:
trunk/LinuxBIOSv2/src/mainboard/gigabyte/ga_2761gxdk/Config.lb
Log:
[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 at amd.com>
Acked-by: Ronald G. Minnich <rminnich at gmail.com>
Modified: trunk/LinuxBIOSv2/src/mainboard/gigabyte/ga_2761gxdk/Config.lb
===================================================================
--- trunk/LinuxBIOSv2/src/mainboard/gigabyte/ga_2761gxdk/Config.lb 2007-10-30 17:21:45 UTC (rev 2910)
+++ trunk/LinuxBIOSv2/src/mainboard/gigabyte/ga_2761gxdk/Config.lb 2007-10-30 17:53:53 UTC (rev 2911)
@@ -92,7 +92,7 @@
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
More information about the coreboot
mailing list