summaryrefslogtreecommitdiffstats
path: root/rules/kernel.in
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2006-03-10 14:43:41 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2006-03-10 14:43:41 +0000
commita6d6c52b5bbd64c5dd15512a38e5c7f3174e7a14 (patch)
tree71450952e5961035a69b2817f8e9fbb6806e7c6c /rules/kernel.in
parent01242635984fb915d2700e51098e635abca6e914 (diff)
downloadptxdist-a6d6c52b5bbd64c5dd15512a38e5c7f3174e7a14.tar.gz
ptxdist-a6d6c52b5bbd64c5dd15512a38e5c7f3174e7a14.tar.xz
more native/target fixes
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@5090 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/kernel.in')
-rw-r--r--rules/kernel.in103
1 files changed, 30 insertions, 73 deletions
diff --git a/rules/kernel.in b/rules/kernel.in
index 141927d46..a2a778334 100644
--- a/rules/kernel.in
+++ b/rules/kernel.in
@@ -14,6 +14,30 @@ menu "Kernel "
##############################################################################
comment "----------------------------------"
+comment "General Options"
+comment "----------------------------------"
+
+config KERNEL_INSTALL
+ bool
+ depends on BUILD_USERLAND
+ prompt "Install kernel into /boot"
+
+config KERNEL_INSTALL_MODULES
+ bool
+ depends on BUILD_USERLAND
+ prompt "Install modules into /lib/modules"
+
+config KERNEL_COMPILE
+ bool
+ prompt "Compile Kernel"
+ depends on BUILD_USERLAND
+ help
+ Usually you want to compile your kernel. If not,
+ deselect this option.
+
+# ----------------------------------------------------------------------------
+
+comment "----------------------------------"
comment "Target Kernel"
comment "----------------------------------"
@@ -35,23 +59,16 @@ config KERNEL_TARGET_SERIES
The series file contains lines with names of patch files which
are then being applied to the kernel.
-config KERNEL_TARGET_COMPILE
- bool
- prompt "Compile Target Kernel"
- depends on BUILD_USERLAND
- help
- Usually you want to compile your kernel. If not,
- deselect this option.
-
# ----------------------------------------------------------------------------
comment "Target Kernel Options"
depends on BUILD_USERLAND
+ depends on KERNEL_COMPILE
choice
prompt "Image Type"
default KERNEL_TARGET_IMAGE_BZ
- depends on KERNEL_TARGET_COMPILE
+ depends on KERNEL_COMPILE
config KERNEL_TARGET_IMAGE_BZ
bool
@@ -71,35 +88,6 @@ config KERNEL_TARGET_IMAGE_VMLINUX
prompt "vmlinux"
endchoice
-config KERNEL_TARGET_EXTERNAL
- bool
- prompt "External Kernel"
- 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_EXTERNAL_DIR
- string
- prompt "Path to external kernel source"
- depends on KERNEL_TARGET_EXTERNAL
- help
- Add a path to your external kernel here. The kernel must be
- configured.
-
-config KERNEL_TARGET_INSTALL
- bool
- depends on BUILD_USERLAND
- prompt "Install kernel into /boot on target"
- select KERNEL_TARGET_INSTALL_MODULES if KERNEL_TARGET_COMPILE
-
-config KERNEL_TARGET_INSTALL_MODULES
- bool
- depends on BUILD_USERLAND
- prompt "Install modules into /lib/modules on target"
-
# ----------------------------------------------------------------------------
comment "----------------------------------"
@@ -129,45 +117,14 @@ config KERNEL_NATIVE_SERIES
The series file contains lines with names of patch files which
are then being applied to the kernel.
-config KERNEL_NATIVE_COMPILE
- bool
- prompt "Compile Native Kernel"
- depends on BUILD_USERLAND
- default Y
- help
- FIXME
-
# ----------------------------------------------------------------------------
comment "Native Kernel Options"
-
-choice
- prompt "Image Type"
- default KERNEL_NATIVE_IMAGE_BZ
- depends on KERNEL_NATIVE_COMPILE
-
-config KERNEL_NATIVE_IMAGE_BZ
- bool
- prompt "bzImage"
-
-config KERNEL_NATIVE_IMAGE_Z
- bool
- prompt "zImage"
-
-config KERNEL_NATIVE_IMAGE_U
- bool
- prompt "uImage"
-
-config KERNEL_NATIVE_IMAGE_VMLINUX
- bool
- prompt "vmlinux"
- select HOST_UMKIMAGE
-endchoice
-
+ depends on KERNEL_COMPILE
choice
prompt "Root Filesystem Method"
- depends on KERNEL_NATIVE_COMPILE
+ depends on KERNEL_COMPILE
config KERNEL_NATIVE_ROOT_HOSTFS
bool
@@ -181,7 +138,7 @@ endchoice
config KERNEL_NATIVE_CONSOLE_STDSERIAL
bool
prompt "map /dev/ttyS0 to stdio"
- depends on KERNEL_NATIVE_COMPILE
+ depends on KERNEL_COMPILE
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
@@ -190,7 +147,7 @@ config KERNEL_NATIVE_CONSOLE_STDSERIAL
config KERNEL_NATIVE_CMDLINE
string
prompt "kernel command line"
- depends on KERNEL_NATIVE_COMPILE
+ depends on KERNEL_COMPILE
help
Add your custom kernel commandline for the user mode linux
kernel here.