-if BUILD_ARCH_x86 || BUILD_ARCH_amd64
-
-choice
- prompt "CPU variant"
-
-config CPU_X86_586
- bool "586 type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_PENTIUM
- bool "Pentium type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_PENTIUMMMX
- bool "Pentium with MMX type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_PENTIUMPRO
- bool "Pentium Pro type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_686
- bool "686 type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_PENTIUM2
- bool "Pentium2 type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_PENTIUM3
- bool "Pentium3 type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_PENTIUMM
- bool "Pentium-M type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_PENTIUM4
- bool "Pentium4 type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_PRESCOTT
- bool "Pentium4 Prescott type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_NOCONA
- bool "Pentium Nocona type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_CORE2
- bool "Core2 type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_K6
- bool "K6 type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_K7
- bool "K7 type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_ATHLON4
- bool "Athlon type CPU"
- depends on BUILD_ARCH_x86
-
-config CPU_X86_K8
- bool "K8 type CPU"
- depends on BUILD_ARCH_x86 || BUILD_ARCH_amd64
-
-config CPU_X86_K10
- bool "K10/Barcelona type CPU"
- depends on BUILD_ARCH_x86 || BUILD_ARCH_amd64
-
-config CPU_X86_OPTERON
- bool "Opteron type CPU"
- depends on BUILD_ARCH_x86 || BUILD_ARCH_amd64
-
-
-
-endchoice
-
-
-config CPU
- string
- default "586" if CPU_X86_586
- default "pentium" if CPU_X86_PENTIUM
- default "pentiummmx" if CPU_X86_PENTIUMMMX
- default "pentiumpro" if CPU_X86_PENTIUMPRO
- default "686" if CPU_X86_686
- default "pentium2" if CPU_X86_PENTIUM2
- default "pentium3" if CPU_X86_PENTIUM3
- default "pentiumm" if CPU_X86_PENTIUMM
- default "pentium4" if CPU_X86_PENTIUM4
- default "prescott" if CPU_X86_PRESCOTT
- default "core2" if CPU_X86_CORE2
- default "nocona" if CPU_X86_NOCONA
- default "K6" if CPU_X86_K6
- default "K7" if CPU_X86_K7
- default "athlon4" if CPU_X86_ATHLON4
- default "K8" if CPU_X86_K8
- default "amdfam10" if CPU_X86_K10
- default "opteron" if CPU_X86_OPTERON
-endif
-
-
-if BUILD_ARCH_arm
-
-choice
- prompt "CPU variant"
-
-config CPU_ARM_ARMV4
- bool "ARMv4 type CPU"
- depends on BUILD_ARCH_arm
-
-config CPU_ARM_ARMV4T
- bool "ARMv4T type CPU"
- depends on BUILD_ARCH_arm
-
-config CPU_ARM_ARMV5
- bool "ARMv5 type CPU"
- depends on BUILD_ARCH_arm
-
-config CPU_ARM_ARMV5T
- bool "ARMv5T type CPU"
- depends on BUILD_ARCH_arm
-
-config CPU_ARM_ARMV5TE
- bool "ARMv5TE type CPU"
- depends on BUILD_ARCH_arm
-
-config CPU_ARM_ARMV6
- bool "ARMv6 type CPU"
- depends on BUILD_ARCH_arm
-
-config CPU_ARM_ARMV6T2
- bool "ARMv6t2 type CPU"
- depends on BUILD_ARCH_arm
-
-config CPU_ARM_ARMV6ZK
- bool "ARMv6zk type CPU"
- depends on BUILD_ARCH_arm
-
-config CPU_ARM_ARMV7A
- bool "ARMv7A type CPU"
- depends on BUILD_ARCH_arm
-
-config CPU_ARM_ARMV7R
- bool "ARMv7R type CPU"
- depends on BUILD_ARCH_arm
-
-endchoice
-
-config CPU
- string
- default "armv4" if CPU_ARM_ARMV4
- default "armv4t" if CPU_ARM_ARMV4T
- default "armv5" if CPU_ARM_ARMV5
- default "armv5t" if CPU_ARM_ARMV5T
- default "armv5te" if CPU_ARM_ARMV5TE
- default "armv6" if CPU_ARM_ARMV6
- default "armv6t2" if CPU_ARM_ARMV6T2
- default "armv6zk" if CPU_ARM_ARMV6ZK
- default "armv7a" if CPU_ARM_ARMV7A
- default "armv7r" if CPU_ARM_ARMV7R
-
-config CPU_ARMV6KPLUS
- bool
- default y if CPU_ARM_ARMV6ZK || CPU_ARM_ARMV7A || CPU_ARM_ARMV7R
-
-config CPU_ARMV6PLUS
- bool
- default y if CPU_ARM_ARMV6 || CPU_ARM_ARMV6T2 || CPU_ARMV6KPLUS
-
-menu "Platform"