diff options
author | Furquan Shaikh <furquan@google.com> | 2014-10-30 11:47:20 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2014-11-04 00:52:48 +0100 |
commit | b4ce4d481418807be96930b36e47408d8f95654e (patch) | |
tree | f8975f57fad03717ae26554224ecffc54b2490b5 /src/arch/x86/Makefile.inc | |
parent | 405304aca34b3dab949e616486bb60a52fd5dae0 (diff) | |
download | coreboot-b4ce4d481418807be96930b36e47408d8f95654e.tar.xz |
romstage: Pass .car.data as ignored section while adding romstage
We don't want segment for .car.data section to be considered while elf_to_stage
transformation is being done. Thus, use -S option for add-stage.
Change-Id: I04868c892e3aa94113189b012d284d52bacea5f0
Signed-off-by: Furquan Shaikh <furquan@google.com>
Reviewed-on: http://review.coreboot.org/7305
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/arch/x86/Makefile.inc')
-rw-r--r-- | src/arch/x86/Makefile.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc index 50f5adaf32..f99ea15517 100644 --- a/src/arch/x86/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -53,7 +53,8 @@ mbi.bin-type := mbi ifeq ($(CONFIG_ARCH_ROMSTAGE_X86_32),y) CBFSTOOL_PRE1_OPTS = -m x86 -o $$(( $(CONFIG_ROM_SIZE) - $(CONFIG_CBFS_SIZE) )) -CBFSTOOL_PRE_OPTS = -b $(shell cat $(objcbfs)/base_xip.txt) +# Make sure that segment for .car.data is ignored while adding romstage. +CBFSTOOL_PRE_OPTS = -b $(shell cat $(objcbfs)/base_xip.txt) -S ".car.data" endif ################################################################################ |