# # rules/kernel.in # ############################################################################## menu "Kernel " ############################################################################## comment "----------------------------------" comment "Target Kernel" comment "----------------------------------" config KERNEL_2_4 bool config KERNEL_2_4_COMPILE bool depends on COMPILE_KERNEL default y if KERNEL_2_4 select HOST_MODUTILS config KERNEL_2_6 bool config KERNEL_2_6_COMPILE bool depends on COMPILE_KERNEL default y if KERNEL_2_6 select HOST_MODULE_INIT_TOOLS choice prompt "Kernel Version" default KERNEL_2_6_10 config KERNEL_2_6_15 bool prompt "2.6.15" depends on ARCH_X86 || ARCH_ARM select KERNEL_2_6 config KERNEL_2_6_14 bool prompt "2.6.14" depends on ARCH_X86 || ARCH_ARM || ARCH_PPC select KERNEL_2_6 config KERNEL_2_6_13 bool prompt "2.6.13" depends on ARCH_X86 || ARCH_ARM || ARCH_PPC select KERNEL_2_6 config KERNEL_2_6_12 bool prompt "2.6.12" depends on ARCH_X86 || ARCH_ARM select KERNEL_2_6 config KERNEL_2_6_11 bool prompt "2.6.11" depends on ARCH_X86 || ARCH_ARM select KERNEL_2_6 config KERNEL_2_6_10 bool prompt "2.6.10" depends on ARCH_X86 || ARCH_ARM select KERNEL_2_6 config KERNEL_2_6_9 bool prompt "2.6.9" depends on ARCH_X86 || ARCH_ARM || ARCH_PPC || ARCH_ALPHA select KERNEL_2_6 config KERNEL_2_6_8 bool prompt "2.6.8" depends on ARCH_X86 || ARCH_ARM || ARCH_PPC || ARCH_ALPHA select KERNEL_2_6 config KERNEL_2_6_7 bool prompt "2.6.7" depends on ARCH_X86 || ARCH_ARM || ARCH_PPC || ARCH_ALPHA select KERNEL_2_6 config KERNEL_2_6_6 bool prompt "2.6.6" depends on ARCH_X86 || ARCH_ARM || ARCH_ALPHA select KERNEL_2_6 config KERNEL_2_6_1 bool prompt "2.6.1" depends on ARCH_X86 || ARCH_ARM || ARCH_ALPHA select KERNEL_2_6 config KERNEL_2_6_0 bool prompt "2.6.0" depends on ARCH_X86 || ARCH_ARM select KERNEL_2_6 # -------------------------------------------------------------------- config KERNEL_2_4_27 bool prompt "2.4.27" depends on ARCH_X86 || ARCH_ARM || ARCH_ARM_NOMMU select KERNEL_2_4 config KERNEL_2_4_26 bool prompt "2.4.26" depends on ARCH_X86 || ARCH_ARM || ARCH_ALPHA select KERNEL_2_4 config KERNEL_2_4_25 bool prompt "2.4.25" depends on ARCH_X86 || ARCH_ARM select KERNEL_2_4 config KERNEL_2_4_23 bool prompt "2.4.23" depends on ARCH_X86 || ARCH_PPC || ARCH_SPARC || ARCH_MIPS || ARCH_CRIS || ARCH_PARISC || ARCH_SH select KERNEL_2_4 config KERNEL_2_4_22 bool prompt "2.4.22" depends on ARCH_ARM_NOMMU || ARCH_X86 || ARCH_PPC || ARCH_SPARC || ARCH_MIPS || ARCH_CRIS || ARCH_PARISC || ARCH_SH select KERNEL_2_4 config KERNEL_2_4_21 bool prompt "2.4.21" select KERNEL_2_4 config KERNEL_2_4_20 bool prompt "2.4.20" depends on ARCH_ARM_NOMMU || ARCH_X86 || ARCH_PPC || ARCH_SPARC || ARCH_MIPS || ARCH_CRIS || ARCH_PARISC || ARCH_SH select KERNEL_2_4 config KERNEL_2_4_19 bool prompt "2.4.19" select KERNEL_2_4 endchoice config KERNEL_CONFIG string prompt "Path to kernel .config file" depends on !USE_EXTERNAL_KERNEL depends on BUILD_USERLAND help Usually config files for the kernel live in $(PROJECTDIR), so add something like $(PROJECTDIR)/your-kernelconfig.kernelconfig here. config DONT_COMPILE_KERNEL bool config COMPILE_KERNEL bool prompt "Compile Kernel" depends on BUILD_USERLAND default Y if !DONT_COMPILE_KERNEL default N if DONT_COMPILE_KERNEL help Usually you want to compile your kernel. If not, deselect this option. choice prompt "Kernel Image" default KERNEL_IMAGE_BZ depends on COMPILE_KERNEL config KERNEL_IMAGE_BZ bool prompt "bzImage" depends on ARCH_X86 config KERNEL_IMAGE_Z bool prompt "zImage" depends on ARCH_X86 || ARCH_ARM config KERNEL_IMAGE_U bool prompt "uImage" depends on ARCH_ARM || ARCH_X86 || ARCH_PPC config KERNEL_IMAGE_VMLINUX bool prompt "vmlinux" endchoice comment "Additional Kernel Options" depends on BUILD_USERLAND config USE_EXTERNAL_KERNEL bool prompt "Use external kernel" default n depends on BUILD_USERLAND help Say yes if you intend to use an external already configured kernel tree. You want this if you, for example, are currently working in a kernel tree and don't want to generate patches for each and every PTXdist run. config KERNEL_DIR string prompt "Path to external kernel source" depends on USE_EXTERNAL_KERNEL help Add a path to your external kernel here. The kernel must be configured. config KERNEL_INSTALL bool depends on BUILD_USERLAND prompt "Install kernel into /boot on target" default n select KERNEL_INSTALL_MODULES if COMPILE_KERNEL config KERNEL_INSTALL_MODULES bool depends on BUILD_USERLAND prompt "Install modules into /lib/modules on target" default n # ---------------------------------------------------------------------------- # Generic Patch Stack # ---------------------------------------------------------------------------- comment "" depends on BUILD_USERLAND config KERNEL_PATCH1_URL prompt "Patch 1 URL" string depends on !USE_EXTERNAL_KERNEL depends on BUILD_USERLAND help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH1_NAME prompt "Patch 1 Name" depends on !USE_EXTERNAL_KERNEL depends on BUILD_USERLAND string comment "" depends on KERNEL_PATCH1_URL!="" config KERNEL_PATCH2_URL prompt "Patch 2 URL" string depends on KERNEL_PATCH1_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH2_NAME prompt "Patch 2 Name" string depends on KERNEL_PATCH1_URL!="" comment "" depends on KERNEL_PATCH2_URL!="" config KERNEL_PATCH3_URL prompt "Patch 3 URL" string depends on KERNEL_PATCH2_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH3_NAME prompt "Patch 3 Name" string depends on KERNEL_PATCH2_URL!="" comment "" depends on KERNEL_PATCH3_URL!="" config KERNEL_PATCH4_URL prompt "Patch 4 URL" string depends on KERNEL_PATCH3_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH4_NAME prompt "Patch 4 Name" string depends on KERNEL_PATCH3_URL!="" comment "" depends on KERNEL_PATCH4_URL!="" config KERNEL_PATCH5_URL prompt "Patch 5 URL" string depends on KERNEL_PATCH4_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH5_NAME prompt "Patch 5 Name" string depends on KERNEL_PATCH4_URL!="" comment "" depends on KERNEL_PATCH5_URL!="" config KERNEL_PATCH6_URL prompt "Patch 6 URL" string depends on KERNEL_PATCH5_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH6_NAME prompt "Patch 6 Name" string depends on KERNEL_PATCH6_URL!="" comment "" depends on KERNEL_PATCH6_URL!="" config KERNEL_PATCH7_URL prompt "Patch 7 URL" string depends on KERNEL_PATCH6_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH7_NAME prompt "Patch 7 Name" string depends on KERNEL_PATCH6_URL!="" comment "" depends on KERNEL_PATCH7_URL!="" config KERNEL_PATCH8_URL prompt "Patch 8 URL" string depends on KERNEL_PATCH7_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH8_NAME prompt "Patch 8 Name" string depends on KERNEL_PATCH8_URL!="" comment "" depends on KERNEL_PATCH8_URL!="" config KERNEL_PATCH9_URL prompt "Patch 9 URL" string depends on KERNEL_PATCH8_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH9_NAME prompt "Patch 9 Name" string depends on KERNEL_PATCH8_URL!="" comment "" depends on KERNEL_PATCH9_URL!="" config KERNEL_PATCH10_URL prompt "Patch 10 URL" string depends on KERNEL_PATCH9_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH10_NAME prompt "Patch 10 Name" string depends on KERNEL_PATCH9_URL!="" comment "" depends on KERNEL_PATCH10_URL!="" config KERNEL_PATCH11_URL prompt "Patch 11 URL" string depends on KERNEL_PATCH10_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH11_NAME prompt "Patch 11 Name" string depends on KERNEL_PATCH10_URL!="" comment "" depends on KERNEL_PATCH11_URL!="" config KERNEL_PATCH12_URL prompt "Patch 12 URL" string depends on KERNEL_PATCH11_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH12_NAME prompt "Patch 12 Name" string depends on KERNEL_PATCH11_URL!="" comment "" depends on KERNEL_PATCH12_URL!="" config KERNEL_PATCH13_URL prompt "Patch 13 URL" string depends on KERNEL_PATCH12_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH13_NAME prompt "Patch 13 Name" string depends on KERNEL_PATCH12_URL!="" comment "" depends on KERNEL_PATCH13_URL!="" config KERNEL_PATCH14_URL prompt "Patch 14 URL" string depends on KERNEL_PATCH13_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH14_NAME prompt "Patch 14 Name" string depends on KERNEL_PATCH13_URL!="" comment "" depends on KERNEL_PATCH14_URL!="" config KERNEL_PATCH15_URL prompt "Patch 15 URL" string depends on KERNEL_PATCH14_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH15_NAME prompt "Patch 15 Name" string depends on KERNEL_PATCH14_URL!="" comment "" depends on KERNEL_PATCH15_URL!="" config KERNEL_PATCH16_URL prompt "Patch 16 URL" string depends on KERNEL_PATCH15_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH16_NAME prompt "Patch 16 Name" string depends on KERNEL_PATCH15_URL!="" comment "" depends on KERNEL_PATCH16_URL!="" config KERNEL_PATCH17_URL prompt "Patch 17 URL" string depends on KERNEL_PATCH16_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH17_NAME prompt "Patch 17 Name" string depends on KERNEL_PATCH16_URL!="" comment "" depends on KERNEL_PATCH17_URL!="" config KERNEL_PATCH18_URL prompt "Patch 18 URL" string depends on KERNEL_PATCH17_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH18_NAME prompt "Patch 18 Name" string depends on KERNEL_PATCH17_URL!="" comment "" depends on KERNEL_PATCH18_URL!="" config KERNEL_PATCH19_URL prompt "Patch 19 URL" string depends on KERNEL_PATCH18_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH19_NAME prompt "Patch 19 Name" string depends on KERNEL_PATCH18_URL!="" comment "" depends on KERNEL_PATCH19_URL!="" config KERNEL_PATCH20_URL prompt "Patch 20 URL" string depends on KERNEL_PATCH19_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_PATCH20_NAME prompt "Patch 20 Name" string depends on KERNEL_PATCH19_URL!="" comment "" depends on KERNEL_PATCH20_URL!="" # ---------------------------------------------------------------------------- comment "----------------------------------" depends on BUILD_USERLAND comment "Host Kernel (for simulation)" depends on BUILD_USERLAND comment "----------------------------------" depends on BUILD_USERLAND config KERNEL_HOST bool depends on BUILD_USERLAND default N prompt "build UML kernel for simulation" help When compiling with NATIVE=1 it is possible that you build an UML kernel which runs on the host as a virtual machine. config KERNEL_HOST_CONFIG string prompt "Path to kernel .config file" depends on KERNEL_HOST help Usually config files for the kernel live in $(PROJECTDIR), so add something like $(PROJECTDIR)/your-hostkernelconfig.kernelconfig here. choice prompt "Kernel Version" default KERNEL_HOST_2_6_14 depends on KERNEL_HOST config KERNEL_HOST_2_6_14 bool prompt "2.6.14" depends on KERNEL_HOST config KERNEL_HOST_2_6_13 bool prompt "2.6.13" depends on KERNEL_HOST endchoice choice prompt "Root filesystem method for host" depends on KERNEL_HOST config KERNEL_HOST_ROOT_HOSTFS bool prompt "hostfs" depends on KERNEL_HOST help Using the hostfs method, $(ROOTDIR) is shared between the host and the user mode linux machine. endchoice config KERNEL_HOST_CONSOLE_STDSERIAL bool prompt "map uml's /dev/ttyS0 to host's stdio" depends on KERNEL_HOST 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_HOST_CMDLINE string prompt "kernel command line for host kernel" depends on KERNEL_HOST help Add your custom kernel commandline for the user mode linux kernel here. #config KERNEL_INSTALL_MODULES # bool # prompt "Install modules into /lib/modules on target" # default n # ---------------------------------------------------------------------------- # Generic Patch Stack # ---------------------------------------------------------------------------- comment "" depends on BUILD_USERLAND config KERNEL_HOST_PATCH1_URL prompt "Patch 1 URL" string depends on KERNEL_HOST help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH1_NAME prompt "Patch 1 Name" depends on KERNEL_HOST string comment "" depends on KERNEL_HOST_PATCH1_URL!="" config KERNEL_HOST_PATCH2_URL prompt "Patch 2 URL" string depends on KERNEL_HOST_PATCH1_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH2_NAME prompt "Patch 2 Name" string depends on KERNEL_HOST_PATCH1_URL!="" comment "" depends on KERNEL_HOST_PATCH2_URL!="" config KERNEL_HOST_PATCH3_URL prompt "Patch 3 URL" string depends on KERNEL_HOST_PATCH2_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH3_NAME prompt "Patch 3 Name" string depends on KERNEL_HOST_PATCH2_URL!="" comment "" depends on KERNEL_HOST_PATCH3_URL!="" config KERNEL_HOST_PATCH4_URL prompt "Patch 4 URL" string depends on KERNEL_HOST_PATCH3_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH4_NAME prompt "Patch 4 Name" string depends on KERNEL_HOST_PATCH3_URL!="" comment "" depends on KERNEL_HOST_PATCH4_URL!="" config KERNEL_HOST_PATCH5_URL prompt "Patch 5 URL" string depends on KERNEL_HOST_PATCH4_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH5_NAME prompt "Patch 5 Name" string depends on KERNEL_HOST_PATCH4_URL!="" comment "" depends on KERNEL_HOST_PATCH5_URL!="" config KERNEL_HOST_PATCH6_URL prompt "Patch 6 URL" string depends on KERNEL_HOST_PATCH5_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH6_NAME prompt "Patch 6 Name" string depends on KERNEL_HOST_PATCH6_URL!="" comment "" depends on KERNEL_HOST_PATCH6_URL!="" config KERNEL_HOST_PATCH7_URL prompt "Patch 7 URL" string depends on KERNEL_HOST_PATCH6_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH7_NAME prompt "Patch 7 Name" string depends on KERNEL_HOST_PATCH6_URL!="" comment "" depends on KERNEL_HOST_PATCH7_URL!="" config KERNEL_HOST_PATCH8_URL prompt "Patch 8 URL" string depends on KERNEL_HOST_PATCH7_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH8_NAME prompt "Patch 8 Name" string depends on KERNEL_HOST_PATCH8_URL!="" comment "" depends on KERNEL_HOST_PATCH8_URL!="" config KERNEL_HOST_PATCH9_URL prompt "Patch 9 URL" string depends on KERNEL_HOST_PATCH8_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH9_NAME prompt "Patch 9 Name" string depends on KERNEL_HOST_PATCH8_URL!="" comment "" depends on KERNEL_HOST_PATCH9_URL!="" config KERNEL_HOST_PATCH10_URL prompt "Patch 10 URL" string depends on KERNEL_HOST_PATCH9_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH10_NAME prompt "Patch 10 Name" string depends on KERNEL_HOST_PATCH9_URL!="" comment "" depends on KERNEL_HOST_PATCH10_URL!="" config KERNEL_HOST_PATCH11_URL prompt "Patch 11 URL" string depends on KERNEL_HOST_PATCH10_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH11_NAME prompt "Patch 11 Name" string depends on KERNEL_HOST_PATCH10_URL!="" comment "" depends on KERNEL_HOST_PATCH11_URL!="" config KERNEL_HOST_PATCH12_URL prompt "Patch 12 URL" string depends on KERNEL_HOST_PATCH11_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH12_NAME prompt "Patch 12 Name" string depends on KERNEL_HOST_PATCH11_URL!="" comment "" depends on KERNEL_HOST_PATCH12_URL!="" config KERNEL_HOST_PATCH13_URL prompt "Patch 13 URL" string depends on KERNEL_HOST_PATCH12_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH13_NAME prompt "Patch 13 Name" string depends on KERNEL_HOST_PATCH12_URL!="" comment "" depends on KERNEL_HOST_PATCH13_URL!="" config KERNEL_HOST_PATCH14_URL prompt "Patch 14 URL" string depends on KERNEL_HOST_PATCH13_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH14_NAME prompt "Patch 14 Name" string depends on KERNEL_HOST_PATCH13_URL!="" comment "" depends on KERNEL_HOST_PATCH14_URL!="" config KERNEL_HOST_PATCH15_URL prompt "Patch 15 URL" string depends on KERNEL_HOST_PATCH14_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH15_NAME prompt "Patch 15 Name" string depends on KERNEL_HOST_PATCH14_URL!="" comment "" depends on KERNEL_HOST_PATCH15_URL!="" config KERNEL_HOST_PATCH16_URL prompt "Patch 16 URL" string depends on KERNEL_HOST_PATCH15_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH16_NAME prompt "Patch 16 Name" string depends on KERNEL_HOST_PATCH15_URL!="" comment "" depends on KERNEL_HOST_PATCH16_URL!="" config KERNEL_HOST_PATCH17_URL prompt "Patch 17 URL" string depends on KERNEL_HOST_PATCH16_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH17_NAME prompt "Patch 17 Name" string depends on KERNEL_HOST_PATCH16_URL!="" comment "" depends on KERNEL_HOST_PATCH17_URL!="" config KERNEL_HOST_PATCH18_URL prompt "Patch 18 URL" string depends on KERNEL_HOST_PATCH17_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH18_NAME prompt "Patch 18 Name" string depends on KERNEL_HOST_PATCH17_URL!="" comment "" depends on KERNEL_HOST_PATCH18_URL!="" config KERNEL_HOST_PATCH19_URL prompt "Patch 19 URL" string depends on KERNEL_HOST_PATCH18_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH19_NAME prompt "Patch 19 Name" string depends on KERNEL_HOST_PATCH18_URL!="" comment "" depends on KERNEL_HOST_PATCH19_URL!="" config KERNEL_HOST_PATCH20_URL prompt "Patch 20 URL" string depends on KERNEL_HOST_PATCH19_URL!="" help Enter a URL to a diff/patch file or to a directory containing a patch tree for patcher here. config KERNEL_HOST_PATCH20_NAME prompt "Patch 20 Name" string depends on KERNEL_HOST_PATCH19_URL!="" comment "" depends on KERNEL_HOST_PATCH20_URL!="" endmenu