summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-07-15 20:59:29 +0900
committerTom Rini <trini@konsulko.com>2015-07-27 15:02:00 -0400
commita350c6a60223f7a60228ed563d2e7b02fb7944ab (patch)
tree800020743c451e0a164b9db32aaa1f6a6ae94a92 /arch/powerpc
parent7e3f94e14551a0a012458d8cfee0f1e9c4179dc3 (diff)
downloadu-boot-imx-a350c6a60223f7a60228ed563d2e7b02fb7944ab.zip
u-boot-imx-a350c6a60223f7a60228ed563d2e7b02fb7944ab.tar.gz
u-boot-imx-a350c6a60223f7a60228ed563d2e7b02fb7944ab.tar.bz2
kbuild: create symbolic link only for ARM, AVR32, SPARC, PowerPC, x86
The symbolic link to SoC/CPU specific header directory is created during the build, while it is only necessary for ARM, AVR32, SPARC, x86, and some CPUs of PowerPC. For the other architectures, it just results in a broken symbolic link. Introduce CONFIG_CREATE_ARCH_SYMLINK to not create unneeded symbolic links. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 3b3f446..18451d3 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -22,9 +22,11 @@ config MPC8260
config MPC83xx
bool "MPC83xx"
+ select CREATE_ARCH_SYMLINK
config MPC85xx
bool "MPC85xx"
+ select CREATE_ARCH_SYMLINK
config MPC86xx
bool "MPC86xx"
@@ -34,6 +36,7 @@ config 8xx
config 4xx
bool "PPC4xx"
+ select CREATE_ARCH_SYMLINK
endchoice