projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This patch unifies the use of config options in v2 to all start with CONFIG_
[coreboot.git]
/
src
/
mainboard
/
via
/
epia-m700
/
Config.lb
diff --git
a/src/mainboard/via/epia-m700/Config.lb
b/src/mainboard/via/epia-m700/Config.lb
index 70f669ef62dd38e4e8b59494cb552944e7d8e732..33006e4963f1b6019551314f83924e76f82f6021 100644
(file)
--- a/
src/mainboard/via/epia-m700/Config.lb
+++ b/
src/mainboard/via/epia-m700/Config.lb
@@
-18,16
+18,16
@@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-## XIP_ROM_SIZE must be a power of 2.
-default XIP_ROM_SIZE = 64 * 1024
+##
CONFIG_
XIP_ROM_SIZE must be a power of 2.
+default
CONFIG_
XIP_ROM_SIZE = 64 * 1024
include /config/nofailovercalculation.lb
arch i386 end
driver mainboard.o
driver wakeup.o
include /config/nofailovercalculation.lb
arch i386 end
driver mainboard.o
driver wakeup.o
-if HAVE_PIRQ_TABLE object irq_tables.o end
-if HAVE_MP_TABLE object mptable.o end
-if HAVE_ACPI_TABLES
+if
CONFIG_
HAVE_PIRQ_TABLE object irq_tables.o end
+if
CONFIG_
HAVE_MP_TABLE object mptable.o end
+if
CONFIG_
HAVE_ACPI_TABLES
object fadt.o
object dsdt.o
# object ssdt.o
object fadt.o
object dsdt.o
# object ssdt.o
@@
-35,23
+35,23
@@
if HAVE_ACPI_TABLES
end
# These lines maybe noused.
makerule ./failover.E
end
# These lines maybe noused.
makerule ./failover.E
- depends "$(MAINBOARD)/../../../arch/i386/lib/failover.c ./romcc"
- action "./romcc -E -O --label-prefix=failover -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/../../../arch/i386/lib/failover.c -o $@"
+ depends "$(
CONFIG_
MAINBOARD)/../../../arch/i386/lib/failover.c ./romcc"
+ action "./romcc -E -O --label-prefix=failover -I$(TOP)/src -I. $(CPPFLAGS) $(
CONFIG_
MAINBOARD)/../../../arch/i386/lib/failover.c -o $@"
end
makerule ./failover.inc
end
makerule ./failover.inc
- depends "$(MAINBOARD)/../../../arch/i386/lib/failover.c ./romcc"
- action "./romcc -O --label-prefix=failover -I$(TOP)/src -I. $(CPPFLAGS) $(MAINBOARD)/../../../arch/i386/lib/failover.c -o $@"
+ depends "$(
CONFIG_
MAINBOARD)/../../../arch/i386/lib/failover.c ./romcc"
+ action "./romcc -O --label-prefix=failover -I$(TOP)/src -I. $(CPPFLAGS) $(
CONFIG_
MAINBOARD)/../../../arch/i386/lib/failover.c -o $@"
end
end
-if USE_DCACHE_RAM
+if
CONFIG_
USE_DCACHE_RAM
if CONFIG_USE_INIT
makerule ./cache_as_ram_auto.o
if CONFIG_USE_INIT
makerule ./cache_as_ram_auto.o
- 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 -c -o $@"
+ depends "$(
CONFIG_
MAINBOARD)/cache_as_ram_auto.c option_table.h"
+ action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(
CONFIG_
MAINBOARD)/cache_as_ram_auto.c -Os -nostdinc -nostdlib -fno-builtin -Wall -c -o $@"
end
else
makerule ./cache_as_ram_auto.inc
end
else
makerule ./cache_as_ram_auto.inc
- 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 -c -S -o $@"
+ depends "$(
CONFIG_
MAINBOARD)/cache_as_ram_auto.c option_table.h"
+ action "$(CC) $(DISTRO_CFLAGS) -I$(TOP)/src -I. $(CPPFLAGS) $(
CONFIG_
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
action "perl -e 's/.rodata/.rom.data/g' -pi $@"
action "perl -e 's/.text/.section .rom.text/g' -pi $@"
end
@@
-65,7
+65,7
@@
ldscript /northbridge/via/vx800/romstrap.lds
mainboardinit cpu/x86/32bit/entry32.inc
ldscript /cpu/x86/32bit/entry32.lds
mainboardinit cpu/x86/32bit/entry32.inc
ldscript /cpu/x86/32bit/entry32.lds
-if USE_FALLBACK_IMAGE
+if
CONFIG_
USE_FALLBACK_IMAGE
mainboardinit cpu/x86/16bit/reset16.inc
ldscript /cpu/x86/16bit/reset16.lds
else
mainboardinit cpu/x86/16bit/reset16.inc
ldscript /cpu/x86/16bit/reset16.lds
else
@@
-81,11
+81,11
@@
end
mainboardinit arch/i386/lib/id.inc
ldscript /arch/i386/lib/id.lds
mainboardinit arch/i386/lib/id.inc
ldscript /arch/i386/lib/id.lds
-if USE_DCACHE_RAM
+if
CONFIG_
USE_DCACHE_RAM
mainboardinit cpu/via/car/cache_as_ram.inc
end
mainboardinit cpu/via/car/cache_as_ram.inc
end
-if USE_FALLBACK_IMAGE
+if
CONFIG_
USE_FALLBACK_IMAGE
ldscript /arch/i386/lib/failover.lds
# failover.inc need definition in cpu_reset.inc, but we do not include
# cpu_reset.inc,so ...
ldscript /arch/i386/lib/failover.lds
# failover.inc need definition in cpu_reset.inc, but we do not include
# cpu_reset.inc,so ...
@@
-94,7
+94,7
@@
end
# mainboardinit cpu/x86/fpu/enable_fpu.inc
# mainboardinit cpu/x86/mmx/enable_mmx.inc
# mainboardinit cpu/x86/fpu/enable_fpu.inc
# mainboardinit cpu/x86/mmx/enable_mmx.inc
-if USE_DCACHE_RAM
+if
CONFIG_
USE_DCACHE_RAM
if CONFIG_USE_INIT
initobject cache_as_ram_auto.o
else
if CONFIG_USE_INIT
initobject cache_as_ram_auto.o
else