summaryrefslogtreecommitdiff
path: root/packages/linux/linux.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-12-10 10:15:56 +0000
committerKoen Kooi <koen@openembedded.org>2007-12-10 10:15:56 +0000
commitf467b31fb367bca6b2cb94804ae16dee9ef72d80 (patch)
treed1e8fec1a9923c7f6219ee599ccd3ab47ac8f5e1 /packages/linux/linux.inc
parent45947d45ef1ca268646b2a1d5853b2776c5f6587 (diff)
linux.inc: introduce CMDLINE_DEBUG to hide or show kernel messages
* controlled by DISTRO_TYPE * You can define CMDLINE_DEBUG in your local.conf or distro.conf to override this behaviour
Diffstat (limited to 'packages/linux/linux.inc')
-rw-r--r--packages/linux/linux.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc
index 85ae8b994f..a08c3a240b 100644
--- a/packages/linux/linux.inc
+++ b/packages/linux/linux.inc
@@ -13,11 +13,16 @@ RPSRC = "http://www.rpsys.net/openzaurus/patches/archive"
# Specify the commandline for your device
-#boot from mmc
+# Boot from mmc
CMDLINE_at91sam9263ek = "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p1 rootfstype=ext2 rootdelay=5"
-#boot from nfs
+# Boot from nfs
#CMDLINE_at91sam9263ek = "mem=64M console=ttyS0,115200 root=301 root=/dev/nfs nfsroot=172.20.3.1:/data/at91 ip=172.20.0.5:::255.255.0.0"
+# Set the verbosity of kernel messages during runtime
+# You can define CMDLINE_DEBUG in your local.conf or distro.conf to override this behaviour
+CMDLINE_DEBUG ?= '${@base_conditional("DISTRO_TYPE", "release", "quiet", "debug",d)}'
+CMDLINE_append = " ${CMDLINE_DEBUG} "
+
do_configure_prepend() {
echo "" > ${S}/.config