commit | 56f31e872e83d23cc98300236ef882c73618d909 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Thu Nov 13 12:28:42 2014 +0900 |
committer | Tom Rini <trini@ti.com> | Sun Nov 23 06:49:02 2014 -0500 |
tree | 5005967106a32c6fffe66d28cf74c2ad0c651178 | |
parent | 37c9940a09d582bb90eed4e59110c388c90f2bf8 [diff] [blame] |
kbuild: use SoC-specific CONFIG to descend into SoC directory Use "obj-$(CONFIG_FOO) += foo/" where it is possible. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
diff --git a/arch/mips/cpu/mips32/Makefile b/arch/mips/cpu/mips32/Makefile index 1221b9e..fa82dd3 100644 --- a/arch/mips/cpu/mips32/Makefile +++ b/arch/mips/cpu/mips32/Makefile
@@ -9,4 +9,4 @@ obj-y = cache.o obj-y += cpu.o interrupts.o time.o -obj-y += $(if $(SOC),$(SOC)/) +obj-$(CONFIG_SOC_AU1X00) += au1x00/