From: Stefan Roese Date: Tue, 2 Apr 2019 08:57:15 +0000 (+0200) Subject: arm: at91: Makefile: Compile lowlevel_init only when really necessary X-Git-Tag: v2019.07-rc1~36^2~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e6a27693609cc25d8fe338f9186b54053a458c32;p=oweals%2Fu-boot.git arm: at91: Makefile: Compile lowlevel_init only when really necessary Make sure that lowlevel_init is not compiled when CONFIG_SKIP_LOWLEVEL_INIT_ONLY is configured. Signed-off-by: Stefan Roese Cc: Heiko Schocher Cc: Andreas Bießmann Cc: Eugen Hristev Reviewed-by: Heiko Schocher Tested on the taurus board: Tested-by: Heiko Schocher --- diff --git a/arch/arm/mach-at91/arm926ejs/Makefile b/arch/arm/mach-at91/arm926ejs/Makefile index 0639d7ea1e..6b0b28957a 100644 --- a/arch/arm/mach-at91/arm926ejs/Makefile +++ b/arch/arm/mach-at91/arm926ejs/Makefile @@ -24,8 +24,10 @@ obj-y += timer.o endif ifndef CONFIG_SKIP_LOWLEVEL_INIT +ifndef CONFIG_SKIP_LOWLEVEL_INIT_ONLY obj-y += lowlevel_init.o endif +endif ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD ifndef CONFIG_HAS_THUMB2