summaryrefslogtreecommitdiff
path: root/packages/linux
diff options
context:
space:
mode:
authorRene Wagner <rw@handhelds.org>2005-07-19 15:41:39 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-19 15:41:39 +0000
commitefbc96c11f4f80a06c701cdc26e7b454a05706e5 (patch)
treecc7b217c93b3d850ad6246c440106500de83cc69 /packages/linux
parent978a60b4f75da73cedba2b18c81ee2a1c4d82149 (diff)
parent9de11cb504b6552a72c135a6d221fd24235884f4 (diff)
merge of 974e37be6affd939e11c5a461e60456cb8f157c0
and bc963c96596aeadb28f51b32a5991fa477af778c
Diffstat (limited to 'packages/linux')
-rw-r--r--packages/linux/nslu2-kernel.inc8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/linux/nslu2-kernel.inc b/packages/linux/nslu2-kernel.inc
index 44f466ef49..f5d7135c88 100644
--- a/packages/linux/nslu2-kernel.inc
+++ b/packages/linux/nslu2-kernel.inc
@@ -211,10 +211,12 @@ inherit kernel
ARCH = "arm"
KERNEL_IMAGETYPE = "zImage"
-# To specify the console set KERNEL_CONSOLE in the .bb
-# file. The default is currently set in machine/nslu2.conf
+# To specify the console set KERNEL_CONSOLE in the .bb file.
+# CMDLINE_ROOT contains the boot options
CMDLINE_ROOT ?= "root=/dev/mtdblock4 rw rootfstype=jffs2 mem=32M@0x00000000 init=/linuxrc reboot=s"
-CMDLINE = "${CMDLINE_ROOT} ${CMDLINE_CONSOLE}"
+# Add distro specific debug (or non-debug) options to this
+CMDLINE_DEBUG ?= ""
+CMDLINE = "${CMDLINE_ROOT} ${CMDLINE_DEBUG} ${CMDLINE_CONSOLE}"
# Add the architecture compiler flags to KERNEL_CC and KERNEL_LD as
# required. Notice that this has to be done for each separately built