kbuild: use SoC-specific CONFIG to descend into SoC directory
[oweals/u-boot.git] / arch / mips / cpu / mips32 / Makefile
index 1221b9e513badaed878877edd400207d12689ae6..fa82dd375f4faa4f0a05867942e98049ee4c0dbf 100644 (file)
@@ -9,4 +9,4 @@ extra-y = start.o
 obj-y  = cache.o
 obj-y  += cpu.o interrupts.o time.o
 
-obj-y += $(if $(SOC),$(SOC)/)
+obj-$(CONFIG_SOC_AU1X00) += au1x00/