u-boot/arch/powerpc/Kconfig
Masahiro Yamada a350c6a602 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>
2015-07-27 15:02:00 -04:00

54 lines
872 B
Plaintext

menu "PowerPC architecture"
depends on PPC
config SYS_ARCH
default "powerpc"
choice
prompt "CPU select"
optional
config MPC512X
bool "MPC512X"
config 5xx
bool "MPC5xx"
config MPC5xxx
bool "MPC5xxx"
config MPC8260
bool "MPC8260"
config MPC83xx
bool "MPC83xx"
select CREATE_ARCH_SYMLINK
config MPC85xx
bool "MPC85xx"
select CREATE_ARCH_SYMLINK
config MPC86xx
bool "MPC86xx"
config 8xx
bool "MPC8xx"
config 4xx
bool "PPC4xx"
select CREATE_ARCH_SYMLINK
endchoice
source "arch/powerpc/cpu/mpc512x/Kconfig"
source "arch/powerpc/cpu/mpc5xx/Kconfig"
source "arch/powerpc/cpu/mpc5xxx/Kconfig"
source "arch/powerpc/cpu/mpc8260/Kconfig"
source "arch/powerpc/cpu/mpc83xx/Kconfig"
source "arch/powerpc/cpu/mpc85xx/Kconfig"
source "arch/powerpc/cpu/mpc86xx/Kconfig"
source "arch/powerpc/cpu/mpc8xx/Kconfig"
source "arch/powerpc/cpu/ppc4xx/Kconfig"
endmenu