From 56f31e872e83d23cc98300236ef882c73618d909 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Thu, 13 Nov 2014 12:28:42 +0900 Subject: kbuild: use SoC-specific CONFIG to descend into SoC directory Use "obj-$(CONFIG_FOO) += foo/" where it is possible. Signed-off-by: Masahiro Yamada --- arch/avr32/cpu/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/avr32') 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/ -- cgit v1.1