diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-02-12 08:50:21 +0000 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2008-02-12 08:50:21 +0000 |
commit | 103b9a2e0f184f754e8e2173809b5a24f40a70a4 (patch) | |
tree | 3768a5b6e2918663c91f978257b1d7dc6c1202c6 /rules/kernel.in | |
parent | 85e1f724982a211c9c4ad71c27625c3f4e18905e (diff) | |
download | ptxdist-103b9a2e0f184f754e8e2173809b5a24f40a70a4.tar.gz ptxdist-103b9a2e0f184f754e8e2173809b5a24f40a70a4.tar.xz |
* ptxdist: add platformconfig
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@7745 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/kernel.in')
-rw-r--r-- | rules/kernel.in | 186 |
1 files changed, 5 insertions, 181 deletions
diff --git a/rules/kernel.in b/rules/kernel.in index 952168a57..0dfc6604d 100644 --- a/rules/kernel.in +++ b/rules/kernel.in @@ -8,207 +8,31 @@ menuconfig KERNEL select CROSS_MODULE_INIT_TOOLS if KERNEL_MODULES select HOST_UMKIMAGE if KERNEL_IMAGE_U prompt "linux kernel " - -comment "--------- Target's kernel ----------" - depends on KERNEL - -comment "build options ---" - depends on KERNEL - -config KERNEL_VERSION - prompt "linux kernel Version" - depends on KERNEL - string - default "2.6.23" - -choice - prompt "kernel architecture (ppc/powerpc)" - depends on KERNEL - depends on ARCH_PPC - default KERNEL_ARCH_POWERPC - help - In current 2.6 kernels powerpc is supported in two - different architectures. ppc is the old one and currently - gets merged into powerpc. - - config KERNEL_ARCH_PPC - bool - prompt "ppc" - - config KERNEL_ARCH_POWERPC - bool - prompt "powerpc" -endchoice - -config KERNEL_ARCH - depends on KERNEL - 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 "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 - -config KERNEL_SERIES - prompt "Patch Series File" - depends on KERNEL - string - default "" help - This entry specifies a patch series file which has to live in - the kernel patches directory: - - 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" - depends on KERNEL - string - default "kernelconfig.target" - help - this entry specifies the .config file used to compile your kernel + Build the Linux kernel. config KERNEL_MODULES bool + depends on KERNEL default y prompt "build kernel-modules" - depends on KERNEL - -choice - prompt "Image Type" - default KERNEL_IMAGE_BZ - depends on KERNEL - -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 - -comment "install options ---" - depends on KERNEL config KERNEL_INSTALL bool prompt "install kernel into /boot" - depends on KERNEL config KERNEL_MODULES_INSTALL bool default y prompt "Install modules into /lib/modules" - depends on KERNEL depends on KERNEL_MODULES -config KERNEL_IMAGE - depends on KERNEL - 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 +# +# autogenerated +# config KERNEL_MODULES_BUILD - depends on KERNEL depends on KERNEL_MODULES string default "modules" -comment "--------- Emulation kernel ---------" - depends on KERNEL - -menu "emulation options " - depends on KERNEL - -config KERNEL_NATIVE_VERSION - prompt "Native Kernel Version" - string - default "2.6.15" - -config KERNEL_NATIVE_SERIES - prompt "Patch Series File" - string - default "series" - help - This entry specifies a patch series file which has to live in - this directory: - - $PTXDIST_WORKSPACE/kernel-patches-native - - The series file contains lines with names of patch files which - are then being applied to the kernel. - -config KERNEL_NATIVE_CONFIG - prompt "native kernel config file" - string - default "kernelconfig.native" - help - This entry specifies the .config file used to compile your kernel - -choice - prompt "Root Filesystem Method" - - config KERNEL_NATIVE_ROOT_HOSTFS - bool - prompt "hostfs" - help - Using the hostfs method, ${ROOTDIR} is shared between - the host and the user mode linux machine. - -endchoice - -config KERNEL_NATIVE_CONSOLE_STDSERIAL - bool - prompt "map /dev/ttyS0 to stdio" - help - This switch adds "ssl0=fd:0,fd:1" to the kernel command line, - which forwards /dev/ttyS0 of the user mode linux vm to the - host's stdin/stdout. - -config KERNEL_NATIVE_CMDLINE - string - prompt "kernel command line" - default "root/boot/vmlinux root=/dev/root rootflags=${ROOTDIR} rootfstype=hostfs" - help - Add your custom kernel commandline for the user mode linux - kernel here. A sane default for hostfs in PTXdist is - - root/boot/vmlinux root=/dev/root rootflags=${ROOTDIR} rootfstype=hostfs - -endmenu |