comment "Target Architecture Options" choice prompt "CPU Architecture " help Specify which processor architecture you want to compile for. config ARCH_ALPHA bool "ALPHA" help This is support for the Alpha processor architecture. config ARCH_ARM bool "ARM" help This is support for the ARM processor architecture. config ARCH_ARM_NOMMU bool "ARM-nommu" depends on EXPERIMENTAL_MORE help This is support for the ARM processor architecture w/o MMU. config ARCH_BLACKFIN bool "blackfin" help This is support for the blackfin processor. config ARCH_X86 bool "X86" help This is support for the Intel x86 architecture also called ia32. config ARCH_PPC bool "PPC" config ARCH_M68K bool "m68k" help This is support for the Motorola/Freescale M68k architecture. config ARCH_SPARC bool "SPARC" depends on EXPERIMENTAL config ARCH_MIPS bool "MIPS" depends on EXPERIMENTAL config ARCH_CRIS depends on EXPERIMENTAL_MORE bool "CRIS" config ARCH_PARISC depends on EXPERIMENTAL_MORE bool "PARISC" config ARCH_SH depends on EXPERIMENTAL_MORE bool "SuperH" endchoice choice prompt "ARM Family Variant" depends on ARCH_ARM || ARCH_ARM_NOMMU help The ARM processor architecture has a variety of flavours. Please chose one. config ARM_ARCH_ATMEL bool "atmel (little endian)" depends on ARCH_ARM_NOMMU config ARM_ARCH_AT91RM9200 bool "at91rm9200 (little endian)" depends on ARCH_ARM config ARM_ARCH_EPXA bool "Excalibur (little endian)" depends on ARCH_ARM config ARM_ARCH_IMX bool "i.MX (little endian)" depends on ARCH_ARM config ARM_ARCH_IXP2000 bool "ixp2000 (big endian)" depends on ARCH_ARM && EXPERIMENTAL_MORE config ARM_ARCH_NETARM bool "net+arm (little endian)" depends on ARCH_ARM_NOMMU config ARM_ARCH_NETX bool "netX (little endian)" depends on ARCH_ARM config ARM_ARCH_OMAP bool "OMAP (little endian)" depends on ARCH_ARM config ARM_ARCH_PXA bool "pxa (little endian)" depends on ARCH_ARM config ARM_ARCH_SA1100 bool "sa1100 (little endian)" depends on ARCH_ARM endchoice config ARM_ARCH string default "atmel" if ARM_ARCH_ATMEL default "at91rm9200" if ARM_ARCH_AT91RM9200 default "epxa" if ARM_ARCH_EPXA default "imx" if ARM_ARCH_IMX default "ixp2000" if ARM_ARCH_IXP2000 default "netarm" if ARM_ARCH_NETARM default "netx" if ARM_ARCH_NETX default "omap" if ARM_ARCH_OMAP default "pxa" if ARM_ARCH_PXA default "sa1100" if ARM_ARCH_SA1100 config ARM_ARCH_BE bool default y if ARM_ARCH_IXP2000 config ARM_ARCH_LE bool default y if ARM_ARCH_PXA || ARM_ARCH_SA1100 || ARM_ARCH_NETARM || ARM_ARCH_ATMEL || ARM_ARCH_IMX || ARM_ARCH_AT91RM9200 || ARM_ARCH_OMAP choice prompt "MIPS architecture" depends on ARCH_MIPS config MIPS_ARCH_BE bool "mips (big endian)" config MIPS_ARCH_LE bool "mipsel (little endian)" endchoice choice prompt "SuperH architecture" depends on ARCH_SH config SH_ARCH_SH3 bool "SH3" config SH_ARCH_SH4 bool "SH4" endchoice choice prompt "Code Optimization" config OPT_ARM bool "generic arm" depends on ARCH_ARM config OPT_ARM_NOMMU bool "generic arm (w/o MMU)" depends on ARCH_ARM_NOMMU config OPT_I386 bool "386" depends on ARCH_X86 help The compiler will generate code for i386 CPUs as default. This code will run on almost all x86/ia32 processors. config OPT_I486 bool "486" depends on ARCH_X86 help The compiler will generate code for i486 CPUs as default. This code will run on almost all x86/ia32 processors, but not on i386! config OPT_I586 bool "586" depends on ARCH_X86 help The compiler will generate code for i586 class CPUs as default (Pentium). This code will run on almost all x86/ia32 processors, but not on i386 and i486! config OPT_I686 bool "686" depends on ARCH_X86 help The compiler will generate code for i686 class CPUs as default (Pentium Pro). This code will run on almost all x86/ia32 processors, but not on i386, i486 and pentium! config OPT_P2 bool "Pentium II" depends on ARCH_X86 help The compiler will generate code for Pentium II CPUs as default. This code will run on Pentium II and above CPUs. config OPT_P3M bool "Pentium III/M" depends on ARCH_X86 help The compiler will generate code for Pentium III and Pentium M CPUs as default. This code will run on Pentium III and above CPUs. Note: A Pentium M is a successor of Pentium III (Pentium 4 is a dead end) config OPT_PPC bool "generic PPC" depends on ARCH_PPC config OPT_PPC405 bool "PPC 405" depends on ARCH_PPC config OPT_PPC604 bool "PPC 604" depends on ARCH_PPC config OPT_PPC750 bool "PPC 750" depends on ARCH_PPC config OPT_PPC7450 bool "PPC 7450" depends on ARCH_PPC config OPT_SPARC bool "generic sparc" depends on ARCH_SPARC config OPT_MIPS bool "generic mips (big endian)" depends on MIPS_ARCH_BE config OPT_MIPSEL bool "generic mipsel (little endian)" depends on MIPS_ARCH_LE config OPT_CRIS bool "generic cris" depends on ARCH_CRIS config OPT_PARISC bool "generic parisc" depends on ARCH_PARISC config OPT_SH3 bool "generic SH3" depends on SH_ARCH_SH3 config OPT_SH4 bool "generic SH4" depends on SH_ARCH_SH4 endchoice config SOFTFLOAT bool prompt "Use Software Floatingpoint" default n depends on ARCH_ARM || ARCH_PPC help Set this option if you want to let the toolchain replace the floating point instructions by emulation code. comment "Extra Toolchain Options" config TARGET_EXTRA_CPPFLAGS string prompt "Extra CPPFLAGS (cpp)" help Extra options for the C preprocessor. config TARGET_EXTRA_CFLAGS string prompt "Extra CFLAGS (c)" help Extra options for the C compiler. config TARGET_EXTRA_CXXFLAGS string prompt "Extra CXXFLAGS (c++)" help Extra options for the C++ compiler. config TARGET_EXTRA_LDFLAGS string prompt "Extra LDFLAGS (ld)" help Extra options for the linker. config ARCH_NOMMU bool default y if ARCH_ARM_NOMMU config ARCH string default "arm" if ARCH_ARM default "armnommu" if ARCH_ARM_NOMMU default "alpha" if ARCH_ALPHA default "blackfin" if ARCH_BLACKFIN default "i386" if ARCH_X86 default "m68k" if ARCH_M68K default "ppc" if ARCH_PPC default "sparc" if ARCH_SPARC default "mips" if ARCH_MIPS default "mips" if ARCH_MIPSEL default "cris" if ARCH_CRIS default "parisc" if ARCH_PARISC default "sh" if ARCH_SH config ARCH_USERSPACE string default "arm" if ARCH_ARM default "arm" if ARCH_ARM_NOMMU default "alpha" if ARCH_ALPHA default "blackfin" if ARCH_BLACKFIN default "i386" if ARCH_X86 default "m68k" if ARCH_M68K default "powerpc" if ARCH_PPC default "sparc" if ARCH_SPARC default "mips" if ARCH_MIPS default "mipsel" if ARCH_MIPSEL default "cris" if ARCH_CRIS default "hppa" if ARCH_PARISC default "sh" if ARCH_SH comment "Paths & Directories" config PREFIX prompt "Prefix for \"install\" stage" string default "${PTXDIST_WORKSPACE}/local" help This directory is being used to install things during the "install" stage of PTXdist. It usually contains host tools and libraries which are needed to link programs. A sane default for this is ${PTXDIST_WORKSPACE}/local. Use this one unless you do exactly know what you are doing. PTXdist uses a sysroot/destdir mechanism, which means that packets are being installed with make install DESTDIR=$(SYSROOT) config HOST_PREFIX string default "${PTXCONF_PREFIX}-host" config CROSS_PREFIX string default "${PTXCONF_PREFIX}-cross" comment "GNU Toolchain Identification String" config CROSSCHAIN_VENDOR string prompt "Check for specific toolchain vendor" default "" help Add here an unique vendor string to ensure this project will be build with the correct toolchain. Leave this entry empty to omit this check. To use this feature add a file called 'ptxconfig' to the bin/ folder of your toolchain. This file should contain at least one variable definition: PTXCONF_PROJECT="insert-vendor-string-here" The string defined here will be checked against the string defined in PTXCONF_PROJECT in file 'ptxconfig' from the toolchain. config CROSSCHAIN_CHECK string prompt "Check for specific gcc version" default "4.0.2" help PTXdist calls your cross compiler with -dumpversion and compares the output with this string. This should help to avoid compilation with the wrong compiler version when you use your own external toolchain. config GNU_TARGET string prompt "GNU Target" default "arm-softfloat-linux-gnu" if ARM_ARCH_LE && GLIBC default "armb-unknown-linux-gnu" if ARM_ARCH_BE && GLIBC default "alpha-unknown-linux-gnu" if ARCH_ALPHA && GLIBC default "arm-elf" if ARCH_ARM_NOMMU && GLIBC default "i386-unknown-linux-gnu" if OPT_I386 && GLIBC default "i486-unknown-linux-gnu" if OPT_I486 && GLIBC default "i586-unknown-linux-gnu" if OPT_I586 && GLIBC default "i686-unknown-linux-gnu" if OPT_I686 && GLIBC default "powerpc-unknown-linux-gnu" if OPT_PPC && GLIBC default "powerpc-405-linux-gnu" if OPT_PPC405 && GLIBC default "powerpc-604-linux-gnu" if OPT_PPC604 && GLIBC default "powerpc-750-linux-gnu" if OPT_PPC750 && GLIBC default "powerpc-7450-linux-gnu" if OPT_PPC7450 && GLIBC default "sparc-unknown-linux-gnu" if OPT_SPARC && GLIBC default "mips-unknown-linux-gnu" if MIPS_ARCH_BE && GLIBC default "mipsel-unknown-linux-gnu" if MIPS_ARCH_LE && GLIBC default "cris-unknown-linux-gnu" if ARCH_CRIS && GLIBC default "hppa-unknown-linux-gnu" if ARCH_PARISC && GLIBC default "sh3-unknown-linux-gnu" if SH_ARCH_SH3 && GLIBC default "sh4-unknown-linux-gnu" if SH_ARCH_SH4 && GLIBC default "arm-uclibc-linux-gnu" if ARM_ARCH_LE && UCLIBC default "armb-uclibc-linux-gnu" if ARM_ARCH_BE && UCLIBC default "arm-elf" if ARCH_ARM_NOMMU && UCLIBC default "i386-uclibc-linux-gnu" if OPT_I386 && UCLIBC default "i486-uclibc-linux-gnu" if OPT_I486 && UCLIBC default "i586-uclibc-linux-gnu" if OPT_I586 && UCLIBC default "i686-uclibc-linux-gnu" if OPT_I686 && UCLIBC default "powerpc-uclibc-linux-gnu" if OPT_PPC && UCLIBC default "powerpc-405_uclibc-linux-gnu" if OPT_PPC405 && UCLIBC default "powerpc-750_uclibc-linux-gnu" if OPT_PPC750 && UCLIBC default "powerpc-7450_uclibc-linux-gnu" if OPT_PPC7450 && UCLIBC default "sparc-uclibc-linux-gnu" if OPT_SPARC && UCLIBC default "mips-uclibc-linux-gnu" if MIPS_ARCH_BE && UCLIBC default "mipsel-uclibc-linux-gnu" if MIPS_ARCH_LE && UCLIBC default "cris-uclibc-linux-gnu" if ARCH_CRIS && UCLIBC default "hppa-uclibc-linux-gnu" if ARCH_PARISC && UCLIBC default "sh3-uclibc-linux-gnu" if SH_ARCH_SH3 && UCLIBC default "sh4-uclibc-linux-gnu" if SH_ARCH_SH4 && UCLIBC help Defines the GNU target for your cross build config COMPILER_PREFIX string prompt "Compiler Prefix" default "${PTXCONF_GNU_TARGET}-" help This is the prefix used to create the correct cross compiler name. If the prefix is equal to the GNU Target you can use "${PTXCONF_GNU_TARGET}-" to use it.