diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-01-14 16:33:04 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-14 16:33:04 +0000 |
commit | 8997e3c9f0a49d0455a557c44857b0f96b9ec714 (patch) | |
tree | ba1f82a3b1ac8da3e3d7a2f8db298fd1c19dc6f3 /packages/linux/linux-openzaurus.inc | |
parent | f7e13095292770c0f47f53e764d270d77197ccce (diff) |
linux-openzaurus: added check for DISTRO_TYPE
- type = "debug" kernels will give debug output
- type = "release" will be quiet
Diffstat (limited to 'packages/linux/linux-openzaurus.inc')
-rw-r--r-- | packages/linux/linux-openzaurus.inc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/linux/linux-openzaurus.inc b/packages/linux/linux-openzaurus.inc index 7b7a6e72f2..2fc6f58007 100644 --- a/packages/linux/linux-openzaurus.inc +++ b/packages/linux/linux-openzaurus.inc @@ -25,7 +25,8 @@ CMDLINE_CON = "console=ttyS0,115200n8 console=tty1 noinitrd" CMDLINE_ROOT = "root=/dev/mtdblock2 rootfstype=jffs2" CMDLINE_ROOT_spitz = "root=/dev/hda1 rootfstype=ext3 rw" CMDLINE_ROOT_borzoi = "root=/dev/hda1 rootfstype=ext3 rw" -CMDLINE_OTHER = "dyntick=enable debug" +CMDLINE_OTHER = "dyntick=enable" +CMDLINE_DEBUG = '${@base_conditional("DISTRO_TYPE", "release", "quiet", "debug",d)}' ############################################################## # Configure memory/ramdisk split for collie @@ -37,7 +38,7 @@ CMDLINE_MEM_collie = "mem=${mem}M" CMDLINE_ROTATE_spitz = "fbcon=rotate:1" CMDLINE_ROTATE_akita = "fbcon=rotate:1" CMDLINE_ROTATE_borzoi = "fbcon=rotate:1" -CMDLINE = "${CMDLINE_CON} ${CMDLINE_ROOT} ${CMDLINE_MEM} ${CMDLINE_ROTATE} ${CMDLINE_OTHER}" +CMDLINE = "${CMDLINE_CON} ${CMDLINE_ROOT} ${CMDLINE_MEM} ${CMDLINE_ROTATE} ${CMDLINE_OTHER} ${CMDLINE_DEBUG}" ############################################################### # Enable or disable ELPP via local.conf - default is "no" |