From: Koen Kooi Date: Mon, 10 Dec 2007 10:15:56 +0000 (+0000) Subject: linux.inc: introduce CMDLINE_DEBUG to hide or show kernel messages X-Git-Tag: Release-2010-05/1~8168 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f467b31fb367bca6b2cb94804ae16dee9ef72d80;p=openembedded.git 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 --- 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