aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-09-05 23:41:46 +0100
committerPaul Eggleton <paul.eggleton@linux.intel.com>2011-09-06 00:33:32 +0100
commit6d2d70e158e70952e78ef8ff574fb2d53ed62a50 (patch)
tree65a2a401f3ebf107b7aab5f0d975d55f685eed0a
parent6e6452d6778a325f27d21e24eee8145f71351c01 (diff)
downloadmeta-handheld-6d2d70e158e70952e78ef8ff574fb2d53ed62a50.tar.gz
linux.inc: set debug level according to oe-core
Use the oe-core style "debug-tweaks" IMAGE_FEATURES entry to enable debugging. Based on meta-smartphone commit 029a03a75fe45cfb5c12b373bc90d88832b78add by Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--recipes-kernel/linux/linux.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc
index 2805215..2304135 100644
--- a/recipes-kernel/linux/linux.inc
+++ b/recipes-kernel/linux/linux.inc
@@ -23,7 +23,7 @@ CMDLINE_at91sam9263ek = "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p1 rootfs
# 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_DEBUG ?= '${@base_contains("IMAGE_FEATURES", "debug-tweaks", "debug", "loglevel=3", d)}'
# Kernel bootlogo is distro-specific (default is OE logo).
# Logo resolution (qvga, vga, ...) is machine-specific.