diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-01-30 09:47:18 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-01-30 09:47:18 +0000 |
commit | e37785791ae2be959cfe07962944745c81ca88f5 (patch) | |
tree | 19371da337314f63e561feeac4cb923c49c64b72 /src/mainboard/Makefile.romccboard.inc | |
parent | 89e45773a977da2c996221b74aef06596d345211 (diff) |
* fix crt0s/ldscripts paths to fix out of tree build.
* fix iasl output directory for i945 boards (patch
for moving it to the mainboard directory will follow)
* coreboot_table.c: lb_mainboard can be static
* coreboot_table.c: dump memory table in debug and spew mode
* fix a warning in bootblock.c
* don't include arch/i386/init in arch/i386/Makefile.inc
* announce generation of crt0_includes.h
* allow overriding $(obj)
* drop unused src_types from Makefile
* correctly use hostname -s instead of hostname for COMPILE_HOST
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5065 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/Makefile.romccboard.inc')
-rw-r--r-- | src/mainboard/Makefile.romccboard.inc | 60 |
1 files changed, 41 insertions, 19 deletions
diff --git a/src/mainboard/Makefile.romccboard.inc b/src/mainboard/Makefile.romccboard.inc index 9f4fe899d5..c103d82f13 100644 --- a/src/mainboard/Makefile.romccboard.inc +++ b/src/mainboard/Makefile.romccboard.inc @@ -2,6 +2,7 @@ ## This file is part of the coreboot project. ## ## Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de> +## Copyright (C) 2010 coresystems GmbH ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by @@ -19,27 +20,48 @@ ## initobj-y += crt0.o -crt0-$(CONFIG_BIG_BOOTBLOCK) += ../../../../src/cpu/x86/16bit/entry16.inc -crt0-y += ../../../../src/cpu/x86/32bit/entry32.inc -crt0-$(CONFIG_BIG_BOOTBLOCK) += ../../../../src/cpu/x86/16bit/reset16.inc -crt0-$(CONFIG_BIG_BOOTBLOCK) += ../../../../src/arch/i386/lib/cpu_reset.inc -crt0-$(CONFIG_BIG_BOOTBLOCK) += ../../../../src/arch/i386/lib/id.inc -crt0-y += ../../../../src/cpu/x86/fpu_enable.inc -crt0-$(CONFIG_CPU_AMD_GX1) += ../../../../src/cpu/amd/model_gx1/cpu_setup.inc -crt0-$(CONFIG_CPU_AMD_GX1) += ../../../../src/cpu/amd/model_gx1/gx_setup.inc -crt0-$(CONFIG_SSE) += ../../../../src/cpu/x86/sse_enable.inc -crt0-$(CONFIG_BIG_BOOTBLOCK) += failover.inc -crt0-y += auto.inc -crt0-$(CONFIG_SSE) += ../../../../src/cpu/x86/sse_disable.inc -crt0-$(CONFIG_MMX) += ../../../../src/cpu/x86/mmx_disable.inc +crt0s := +ifeq($(CONFIG_BIG_BOOTBLOCK),y) +crt0s += $(src)/cpu/x86/16bit/entry16.inc +endif +crt0s += $(src)/cpu/x86/32bit/entry32.inc +ifeq($(CONFIG_BIG_BOOTBLOCK),y) +crt0s += $(src)/cpu/x86/16bit/reset16.inc +crt0s += $(src)/arch/i386/lib/cpu_reset.inc +crt0s += $(src)/arch/i386/lib/id.inc +endif +crt0s += $(src)/cpu/x86/32bit/entry32.inc +crt0s += $(src)/cpu/x86/fpu_enable.inc + +ifeq($(CONFIG_CPU_AMD_GX1),y) +crt0s += $(src)/cpu/amd/model_gx1/cpu_setup.inc +crt0s += $(src)/cpu/amd/model_gx1/gx_setup.inc +endif +ifeq($(CONFIG_SSE),y) +crt0s += $(src)/cpu/x86/sse_enable.inc +endif +ifeq($(CONFIG_BIG_BOOTBLOCK),y) +crt0s += $(obj)/mainboard/$(MAINBOARDDIR)/failover.inc +endif +crt0s += $(obj)/mainboard/$(MAINBOARDDIR)/auto.inc +ifeq($(CONFIG_SSE),y) +crt0s += $(src)/cpu/x86/sse_disable.inc +endif +ifeq($(CONFIG_MMX),y) +crt0s += $(src)/cpu/x86/mmx_disable.inc +endif -ldscript-y += ../../../../src/arch/i386/init/ldscript_fallback_cbfs.lb -ldscript-$(CONFIG_BIG_BOOTBLOCK) += ../../../../src/cpu/x86/16bit/entry16.lds -ldscript-y += ../../../../src/cpu/x86/32bit/entry32.lds -ldscript-$(CONFIG_BIG_BOOTBLOCK) += ../../../../src/cpu/x86/16bit/reset16.lds -ldscript-$(CONFIG_BIG_BOOTBLOCK) += ../../../../src/arch/i386/lib/id.lds -ldscript-$(CONFIG_BIG_BOOTBLOCK) += ../../../../src/arch/i386/lib/failover.lds +ldscripts := $(src)/arch/i386/init/ldscript_fallback_cbfs.lb +ifeq($(CONFIG_BIG_BOOTBLOCK),y) +ldscripts += $(src)/cpu/x86/16bit/entry16.lds +endif +ldscripts += $(src)/cpu/x86/32bit/entry32.lds +ifeq($(CONFIG_BIG_BOOTBLOCK),y) +ldscripts += $(src)/cpu/x86/16bit/reset16.lds +ldscripts += $(src)/arch/i386/lib/id.lds +ldscripts += $(src)/arch/i386/lib/failover.lds +endif driver-y += mainboard.o |