diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-11-13 12:28:42 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-23 06:49:02 -0500 |
commit | 56f31e872e83d23cc98300236ef882c73618d909 (patch) | |
tree | 5005967106a32c6fffe66d28cf74c2ad0c651178 /arch/arm/cpu/arm1136 | |
parent | 37c9940a09d582bb90eed4e59110c388c90f2bf8 (diff) | |
download | u-boot-imx-56f31e872e83d23cc98300236ef882c73618d909.zip u-boot-imx-56f31e872e83d23cc98300236ef882c73618d909.tar.gz u-boot-imx-56f31e872e83d23cc98300236ef882c73618d909.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/cpu/arm1136')
-rw-r--r-- | arch/arm/cpu/arm1136/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm1136/Makefile b/arch/arm/cpu/arm1136/Makefile index 90dc7aa..56a9390 100644 --- a/arch/arm/cpu/arm1136/Makefile +++ b/arch/arm/cpu/arm1136/Makefile @@ -8,4 +8,5 @@ extra-y = start.o obj-y = cpu.o -obj-y += $(if $(SOC),$(SOC)/) +obj-$(CONFIG_MX31) += mx31/ +obj-$(CONFIG_MX35) += mx35/ |