aboutsummaryrefslogtreecommitdiffstats
path: root/packages/linux/linux-openzaurus.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-01-14 23:11:00 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-14 23:11:00 +0000
commit24df7c7a1baa81bee7103f0823f20b3fa88db31a (patch)
tree89a2e58603778378d00d419a2411c6e733dc625e /packages/linux/linux-openzaurus.inc
parent2f4a0e6d13436a42d0db263ef71be0e097ca402d (diff)
downloadopenembedded-24df7c7a1baa81bee7103f0823f20b3fa88db31a.tar.gz
linux-openzaurus: added check for DISTRO_TYPE
- type = "debug" kernels will give debug output - type = "release" will be quiet taken from .dev
Diffstat (limited to 'packages/linux/linux-openzaurus.inc')
-rw-r--r--packages/linux/linux-openzaurus.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/linux/linux-openzaurus.inc b/packages/linux/linux-openzaurus.inc
index 68a90b290e..b68085a81c 100644
--- a/packages/linux/linux-openzaurus.inc
+++ b/packages/linux/linux-openzaurus.inc
@@ -31,7 +31,10 @@ export mem = ${@bb.data.getVar("COLLIE_MEMORY_SIZE",d,1) or "32"}
export rd = ${@bb.data.getVar("COLLIE_RAMDISK_SIZE",d,1) or "32"}
CMDLINE_MEM_collie = "mem=${mem}M"
-CMDLINE = "${CMDLINE_CON} ${CMDLINE_ROOT} ${CMDLINE_MEM} debug"
+
+CMDLINE_DEBUG = '${@base_conditional("DISTRO_TYPE", "release", "quiet", "debug",d)}'
+
+CMDLINE = "${CMDLINE_CON} ${CMDLINE_ROOT} ${CMDLINE_MEM} ${CMDLINE_DEBUG}"
###############################################################
# Enable or disable ELPP via local.conf - default is "no"