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/mips/cpu/mips32/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/mips') diff --git a/arch/mips/cpu/mips32/Makefile b/arch/mips/cpu/mips32/Makefile index 1221b9e513..fa82dd375f 100644 --- a/arch/mips/cpu/mips32/Makefile +++ b/arch/mips/cpu/mips32/Makefile @@ -9,4 +9,4 @@ extra-y = start.o obj-y = cache.o obj-y += cpu.o interrupts.o time.o -obj-y += $(if $(SOC),$(SOC)/) +obj-$(CONFIG_SOC_AU1X00) += au1x00/ -- cgit v1.2.3