From: Bin Meng Date: Wed, 11 May 2016 14:44:58 +0000 (-0700) Subject: x86: Compile coreboot_table.c only for SeaBIOS X-Git-Tag: v2016.07-rc1~177^2~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=548344912f791ff7f7f932afdaf669f45a20448b;p=u-boot x86: Compile coreboot_table.c only for SeaBIOS coreboot_table.c only needs to be built when SeaBIOS is used. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile index ce5eb8202b..e17f0bb0f2 100644 --- a/arch/x86/lib/Makefile +++ b/arch/x86/lib/Makefile @@ -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-y += coreboot_table.o +obj-$(CONFIG_SEABIOS) += coreboot_table.o obj-$(CONFIG_EFI) += efi/ obj-y += e820.o obj-y += gcc.o