summaryrefslogtreecommitdiff
path: root/arch/mips/cpu
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-11-13 12:28:40 +0900
committerTom Rini <trini@ti.com>2014-11-23 06:49:02 -0500
commit165ecd26f036b1952dbf25823fbff7c0a403a29f (patch)
tree8fdcc3673d5717bfec06c823348db9d3e1338d2f /arch/mips/cpu
parentbe25d875b924cbd50d49fd9f343e70d86b7ad7e0 (diff)
downloadu-boot-imx-165ecd26f036b1952dbf25823fbff7c0a403a29f.zip
u-boot-imx-165ecd26f036b1952dbf25823fbff7c0a403a29f.tar.gz
u-boot-imx-165ecd26f036b1952dbf25823fbff7c0a403a29f.tar.bz2
kbuild: Descend into SOC directory from CPU directory
Some CPUs of some architectures have SOC directories. At present, the build system directly descends into SOC directories from the top Makefile, but it should generally descend into each directory from its parent directory. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/mips/cpu')
-rw-r--r--arch/mips/cpu/mips32/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/cpu/mips32/Makefile b/arch/mips/cpu/mips32/Makefile
index e0e6309..1221b9e 100644
--- a/arch/mips/cpu/mips32/Makefile
+++ b/arch/mips/cpu/mips32/Makefile
@@ -8,3 +8,5 @@
extra-y = start.o
obj-y = cache.o
obj-y += cpu.o interrupts.o time.o
+
+obj-y += $(if $(SOC),$(SOC)/)