aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux.inc
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2011-03-13 02:37:51 +0100
committerAndrea Adami <andrea.adami@gmail.com>2011-03-13 14:46:56 +0100
commitb6a3e6531f05120ab360199de827c34107d1188d (patch)
tree48da43cc4788baebc1d6386f058046b31396cd8c /recipes/linux/linux.inc
parent61c4c7427b8ce43ab0655a63f23131a36afd9457 (diff)
downloadopenembedded-b6a3e6531f05120ab360199de827c34107d1188d.tar.gz
linux.inc: fix CMDLINE_DEBUG injection.
* CMDLINE_append = " ${CMDLINE_DEBUG} " was not the way Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'recipes/linux/linux.inc')
-rw-r--r--recipes/linux/linux.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
index bae0cb41b1..24e3406e96 100644
--- a/recipes/linux/linux.inc
+++ b/recipes/linux/linux.inc
@@ -20,9 +20,8 @@ CMDLINE_at91sam9263ek = "mem=64M console=ttyS0,115200 root=/dev/mmcblk0p1 rootfs
#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
+# 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} "
# Kernel bootlogo is distro-specific (default is OE logo).
# Logo resolution (qvga, vga, ...) is machine-specific.
@@ -130,7 +129,7 @@ do_configure_prepend() {
echo "CONFIG_CPU_BIG_ENDIAN=y" >> ${S}/.config
fi
- echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config
+ echo "CONFIG_CMDLINE=\"${CMDLINE} ${CMDLINE_DEBUG}\"" >> ${S}/.config
sed -e '/CONFIG_AEABI/d' \
-e '/CONFIG_OABI_COMPAT=/d' \
@@ -220,7 +219,7 @@ do_configure_prepend() {
echo "CONFIG_USB_ETH=y" >> ${S}/.config
echo "CONFIG_NFS_FS=y" >> ${S}/.config
echo "CONFIG_ROOT_NFS=y" >> ${S}/.config
- echo "CONFIG_CMDLINE=\"${CMDLINE_NFSROOT_USB}\"" >> ${S}/.config
+ echo "CONFIG_CMDLINE=\"${CMDLINE_NFSROOT_USB} ${CMDLINE_DEBUG}\"" >> ${S}/.config
fi
yes '' | oe_runmake oldconfig
}