kbuild: create symbolic link only for ARM, AVR32, SPARC, PowerPC, x86
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 15 Jul 2015 11:59:29 +0000 (20:59 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:02:00 +0000 (15:02 -0400)
commita350c6a60223f7a60228ed563d2e7b02fb7944ab
tree800020743c451e0a164b9db32aaa1f6a6ae94a92
parent7e3f94e14551a0a012458d8cfee0f1e9c4179dc3
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>
arch/Kconfig
arch/powerpc/Kconfig
scripts/Makefile.autoconf