summaryrefslogtreecommitdiffstats
path: root/platforms/Kconfig
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-03-27 11:24:48 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-03-27 11:24:48 +0000
commitf4fd0014fe51f7a32b3082f92bca679f0a5b102f (patch)
tree6e3a528ecdaab20795ac082cae300ee63b96cf24 /platforms/Kconfig
parent8ef37c1e153a850866d76faabe03d6525f119308 (diff)
downloadptxdist-f4fd0014fe51f7a32b3082f92bca679f0a5b102f.tar.gz
ptxdist-f4fd0014fe51f7a32b3082f92bca679f0a5b102f.tar.xz
* platforms/Kconfig, platforms/kernel.in:
put kernel into own file git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7871 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'platforms/Kconfig')
-rw-r--r--platforms/Kconfig160
1 files changed, 15 insertions, 145 deletions
diff --git a/platforms/Kconfig b/platforms/Kconfig
index f50b36c75..1982bc22d 100644
--- a/platforms/Kconfig
+++ b/platforms/Kconfig
@@ -27,6 +27,7 @@ choice
config ARCH_ARM
bool "arm "
+ select HAS_MMU
help
This is support for the ARM processor architecture.
@@ -233,16 +234,6 @@ config ENDIAN_LITTLE
config HAS_MMU
bool
-# FIXME we don't build the toolchain any more...?
-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.
-
config ARCH_STRING
string
default "arm" if ARCH_ARM
@@ -336,7 +327,7 @@ config CROSS_PREFIX
endmenu
-menu "toolchain identification "
+menu "toolchain "
config CROSSCHAIN_VENDOR
string
@@ -377,145 +368,24 @@ config COMPILER_PREFIX
prefix is equal to the GNU Target you can use "${PTXCONF_GNU_TARGET}-" to
use it.
-endmenu
-
-comment "------------------------------------"
-comment "Kernel Configuration "
-comment "------------------------------------"
-
-config KERNEL_VERSION
- prompt "kernel version"
- string
-
-choice
- prompt "kernel architecture "
- depends on ARCH_PPC || ARCH_X86
- default KERNEL_ARCH_POWERPC if ARCH_PPC
- default KERNEL_ARCH_X86 if ARCH_X86
- help
- For x86 and PowerPC there are different possibilities to set the kernel
- architecture:
-
- - The old variant for PowerPC is ppc, the newer one is powerpc.
- - The old variant for x86 is i386 for 32 bit and x86_64 for 64 bit,
- kernels later than 2.6.24 use x86.
-
- config KERNEL_ARCH_PPC
- bool
- depends on ARCH_PPC
- prompt "ppc "
-
- config KERNEL_ARCH_POWERPC
- bool
- depends on ARCH_PPC
- prompt "powerpc"
-
- config KERNEL_ARCH_X86
- bool
- depends on ARCH_X86
- prompt "x86 "
-
- config KERNEL_ARCH_I386
- bool
- depends on ARCH_X86
- prompt "i386 "
-
- config KERNEL_ARCH_X86_64
- bool
- depends on ARCH_X86
- prompt "x86_64 "
-
-endchoice
-
-config ARCH_KERNEL_STRING
- string
- default "arm" if ARCH_ARM
- default "armnommu" if ARCH_ARM && !HAS_MMU
- default "alpha" if ARCH_ALPHA
- default "blackfin" if ARCH_BLACKFIN
- default "m68k" if ARCH_M68K
- 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
-
- default "ppc" if KERNEL_ARCH_PPC
- default "powerpc" if KERNEL_ARCH_POWERPC
- default "x86" if KERNEL_ARCH_X86
- default "i386" if KERNEL_ARCH_I386
- default "x86_64" if KERNEL_ARCH_X86_64
-
-menu "patching & configuration "
-
-config KERNEL_SERIES
- prompt "patch series file"
+config COMPILER_PREFIX_KERNEL
string
- default ""
+ prompt "compiler prefix (kernel)"
+ default "${PTXCONF_COMPILER_PREFIX}"
help
- This entry specifies a patch series file which has to live in
- the kernel patches directory:
+ This is the prefix used to create the correct cross compiler
+ name used to compile the kernel. If the prefix equals the
+ normal compiler you can use "${PTXCONF_COMPILER_PREFIX}".
- The series file contains lines with names of patch files which
- are then being applied to the kernel.
-
-config KERNEL_CONFIG
- prompt "kernel config file"
+config COMPILER_PREFIX_UBOOT
string
- default "kernelconfig.target"
+ prompt "compiler prefix (u-boot)"
+ default "${PTXCONF_COMPILER_PREFIX}"
help
- this entry specifies the .config file used to compile your kernel
+ This is the prefix used to create the correct cross compiler
+ name used to compile the u-boot. If the prefix equals the
+ normal compiler you can use "${PTXCONF_COMPILER_PREFIX}".
endmenu
-
-# FIXME make this architecture dependend
-
-choice
- prompt "Image Type "
- default KERNEL_IMAGE_BZ
-
-config KERNEL_IMAGE_BZ
- bool
- prompt "bzImage"
- help
- This usually is the target to be used on ia32 platforms. It
- is not limited in size (to be more precise: Limited up to 4MiB).
-
-config KERNEL_IMAGE_Z
- bool
- prompt "zImage "
- help
- This usually is a target to be used on ia32 platforms, it
- is the older format and limited to about 500k in size due to
- low memory size restrictions.
-
-config KERNEL_IMAGE_U
- bool
- prompt "uImage "
- help
- This is the target for most non ia32 platforms like PowerPC
- and ARM architectures. Its a compressed image with additional
- embedded information.
-
-config KERNEL_IMAGE_VMLINUX
- bool
- prompt "vmlinux"
- help
- This is the target to get the kernel image as an ELF. Mostly
- used for debugging purposes.
-endchoice
-
-
-#
-# autogenerated
-#
-
-config KERNEL_IMAGE
- string
- default "bzImage" if KERNEL_IMAGE_BZ
- default "zImage" if KERNEL_IMAGE_Z
- default "uImage" if KERNEL_IMAGE_U
- default "vmlinux" if KERNEL_IMAGE_VMLINUX
-
+source "platforms/kernel.in"