summaryrefslogtreecommitdiff
path: root/arch/avr32/cpu
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-13 12:28:42 +0900
committerTom Rini <trini@ti.com>2014-11-23 06:49:02 -0500
commit56f31e872e83d23cc98300236ef882c73618d909 (patch)
tree5005967106a32c6fffe66d28cf74c2ad0c651178 /arch/avr32/cpu
parent37c9940a09d582bb90eed4e59110c388c90f2bf8 (diff)
downloadu-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/avr32/cpu')
-rw-r--r--arch/avr32/cpu/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/cpu/Makefile b/arch/avr32/cpu/Makefile
index 2f7adf8..00cede3 100644
--- a/arch/avr32/cpu/Makefile
+++ b/arch/avr32/cpu/Makefile
@@ -17,4 +17,4 @@ obj-y += interrupts.o
obj-$(CONFIG_PORTMUX_PIO) += portmux-pio.o
obj-$(CONFIG_PORTMUX_GPIO) += portmux-gpio.o
-obj-y += $(if $(SOC),$(SOC)/)
+obj-$(if $(filter at32ap700x,$(SOC)),y) += at32ap700x/