From: Andrea Adami Date: Wed, 2 Mar 2011 23:28:08 +0000 (+0100) Subject: linux-kexecboot.inc: add more mangling to protect our custom CMDLINE. X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bc56c9595dfae1c2f4281cd344bf87da4c30bc9;p=openembedded.git linux-kexecboot.inc: add more mangling to protect our custom CMDLINE. Signed-off-by: Andrea Adami --- diff --git a/recipes/linux/linux-kexecboot.inc b/recipes/linux/linux-kexecboot.inc index e1b10a07a1..87ef03d808 100644 --- a/recipes/linux/linux-kexecboot.inc +++ b/recipes/linux/linux-kexecboot.inc @@ -79,9 +79,19 @@ do_configure_prepend() { echo "" > ${S}/.config + # + # CONFIG_CMDLINE mangling + # echo "CONFIG_CMDLINE_BOOL=y" >> ${S}/.config echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config + # mips and x86 + echo "CONFIG_CMDLINE_OVERRIDE=y" >> ${S}/.config + + # sh only + echo "CONFIG_CMDLINE_OVERWRITE=y" >> ${S}/.config + echo "# CONFIG_CMDLINE_EXTEND is not set" >> ${S}/.config + # # endian support # @@ -105,6 +115,10 @@ do_configure_prepend() { fi sed -e '/CONFIG_CMDLINE=/d' \ + -e '/CONFIG_CMDLINE_BOOL/d' \ + -e '/CONFIG_CMDLINE_OVERRIDE/d' \ + -e '/CONFIG_CMDLINE_OVERWRITE/d' \ + -e '/CONFIG_CMDLINE_EXTEND/d' \ -e '/CONFIG_CPU_BIG_ENDIAN/d' \ -e '/CONFIG_LOGO=/d' \ -e '/CONFIG_LOGO_LINUX_CLUT224=/d' \