diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-11-13 06:28:42 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-23 14:49:02 +0300 |
commit | 56f31e872e83d23cc98300236ef882c73618d909 (patch) | |
tree | 5005967106a32c6fffe66d28cf74c2ad0c651178 /arch/arm/cpu/arm920t | |
parent | 37c9940a09d582bb90eed4e59110c388c90f2bf8 (diff) | |
download | u-boot-56f31e872e83d23cc98300236ef882c73618d909.tar.xz |
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/arm920t')
-rw-r--r-- | arch/arm/cpu/arm920t/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm920t/Makefile b/arch/arm/cpu/arm920t/Makefile index 9f885ff230..a72e5de99e 100644 --- a/arch/arm/cpu/arm920t/Makefile +++ b/arch/arm/cpu/arm920t/Makefile @@ -10,4 +10,9 @@ extra-y = start.o obj-y += cpu.o obj-$(CONFIG_USE_IRQ) += interrupts.o -obj-y += $(if $(SOC),$(SOC)/) +obj-$(if $(filter a320,$(SOC)),y) += a320/ +obj-$(CONFIG_AT91FAMILY) += at91/ +obj-$(CONFIG_EP93XX) += ep93xx/ +obj-$(CONFIG_IMX) += imx/ +obj-$(CONFIG_KS8695) += ks8695/ +obj-$(CONFIG_S3C24X0) += s3c24x0/ |