diff options
author | Patrick Rudolph <siro@das-labor.org> | 2019-02-10 13:56:29 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-20 10:38:05 +0000 |
commit | 4d60d96497bf240357d846f253193a6a744466f6 (patch) | |
tree | de3d4ae786e848f8894015c165a12f15328c3b8d /src/arch | |
parent | 71da5fe5e9a4f3735bbda684e587ed02750776b0 (diff) | |
download | coreboot-4d60d96497bf240357d846f253193a6a744466f6.tar.xz |
walkcbfs: Only compile on x86_32
The current implementation was designed for x86_32, so don't
attempt to compile it on x86_64 until it is fixed.
Fixes compilation error on x86_64.
Change-Id: Ibd87dc2979f6d45a988119c06c5f9e61b3e86171
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-on: https://review.coreboot.org/c/31467
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/Makefile.inc b/src/arch/x86/Makefile.inc index 8dafac8131..3c4a8b075d 100644 --- a/src/arch/x86/Makefile.inc +++ b/src/arch/x86/Makefile.inc @@ -122,7 +122,7 @@ else $(eval $(call early_x86_stage,bootblock,elf64-x86-64)) endif -bootblock-y += walkcbfs.S +bootblock-$(CONFIG_ARCH_BOOTBLOCK_X86_32) += walkcbfs.S else # !C_ENVIRONMENT_BOOTBLOCK @@ -235,7 +235,7 @@ romstage-y += memset.c romstage-$(CONFIG_X86_TOP4G_BOOTMEDIA_MAP) += mmap_boot.c romstage-y += postcar_loader.c romstage-$(CONFIG_COLLECT_TIMESTAMPS_TSC) += timestamp.c -romstage-y += walkcbfs.S +romstage-$(CONFIG_ARCH_ROMSTAGE_X86_32) += walkcbfs.S romstage-srcs += $(wildcard $(src)/mainboard/$(MAINBOARDDIR)/romstage.c) romstage-libs ?= |