From 56f31e872e83d23cc98300236ef882c73618d909 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 13 Nov 2014 12:28:42 +0900 Subject: kbuild: use SoC-specific CONFIG to descend into SoC directory Use "obj-$(CONFIG_FOO) += foo/" where it is possible. Signed-off-by: Masahiro Yamada --- arch/arm/cpu/armv8/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/cpu/armv8') diff --git a/arch/arm/cpu/armv8/Makefile b/arch/arm/cpu/armv8/Makefile index d2488e70ff..0c102230ae 100644 --- a/arch/arm/cpu/armv8/Makefile +++ b/arch/arm/cpu/armv8/Makefile @@ -15,4 +15,4 @@ obj-y += cache.o obj-y += tlb.o obj-y += transition.o -obj-y += $(if $(SOC),$(SOC)/) +obj-$(CONFIG_FSL_LSCH3) += fsl-lsch3/ -- cgit v1.2.1