From: Simon Glass Date: Sat, 7 Dec 2019 04:42:23 +0000 (-0700) Subject: x86: Don't include the BIOS emulator in TPL X-Git-Tag: v2020.10~431^2~2^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb96deec50e9880108ede75c0a37a80d9be298fb;p=platform%2Fkernel%2Fu-boot.git x86: Don't include the BIOS emulator in TPL We don't generally have enough space to run this, so don't build it into TPL. This helps reduce the size of TPL. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile index ca0ca10..5cd4587 100644 --- a/arch/x86/lib/Makefile +++ b/arch/x86/lib/Makefile @@ -4,9 +4,11 @@ # Wolfgang Denk, DENX Software Engineering, wd@denx.de. ifndef CONFIG_X86_64 +ifndef CONFIG_TPL_BUILD obj-y += bios.o obj-y += bios_asm.o obj-y += bios_interrupts.o +endif obj-y += string.o endif ifndef CONFIG_SPL_BUILD