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/arm926ejs | |
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/arm926ejs')
-rw-r--r-- | arch/arm/cpu/arm926ejs/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/arch/arm/cpu/arm926ejs/Makefile b/arch/arm/cpu/arm926ejs/Makefile index bd1ef8b..adcea9f 100644 --- a/arch/arm/cpu/arm926ejs/Makefile +++ b/arch/arm/cpu/arm926ejs/Makefile @@ -14,4 +14,17 @@ extra-y := endif endif -obj-y += $(if $(SOC),$(SOC)/) +obj-$(CONFIG_ARMADA100) += armada100/ +obj-$(CONFIG_AT91FAMILY) += at91/ +obj-$(CONFIG_ARCH_DAVINCI) += davinci/ +obj-$(CONFIG_KIRKWOOD) += kirkwood/ +obj-$(if $(filter lpc32xx,$(SOC)),y) += lpc32xx/ +obj-$(CONFIG_MB86R0x) += mb86r0x/ +obj-$(CONFIG_MX25) += mx25/ +obj-$(CONFIG_MX27) += mx27/ +obj-$(if $(filter mxs,$(SOC)),y) += mxs/ +obj-$(CONFIG_ARCH_NOMADIK) += nomadik/ +obj-$(CONFIG_ORION5X) += orion5x/ +obj-$(CONFIG_PANTHEON) += pantheon/ +obj-$(if $(filter spear,$(SOC)),y) += spear/ +obj-$(CONFIG_ARCH_VERSATILE) += versatile/ |