]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
x86: Compile coreboot_table.c only for SeaBIOS
authorBin Meng <bmeng.cn@gmail.com>
Wed, 11 May 2016 14:44:58 +0000 (07:44 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 23 May 2016 07:18:00 +0000 (15:18 +0800)
coreboot_table.c only needs to be built when SeaBIOS is used.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/Makefile

index ce5eb8202b4895810b7f57b78dfbbad119671910..e17f0bb0f2b51c15fcfcc1b5941a6eed67335601 100644 (file)
@@ -10,7 +10,7 @@ obj-y += bios_asm.o
 obj-y += bios_interrupts.o
 obj-$(CONFIG_CMD_BOOTM) += bootm.o
 obj-y  += cmd_boot.o
-obj- += coreboot_table.o
+obj-$(CONFIG_SEABIOS) += coreboot_table.o
 obj-$(CONFIG_EFI) += efi/
 obj-y  += e820.o
 obj-y  += gcc.o