[oe] [meta-handheld] linux.inc: be more strict in CONF_SED_SCRIPT

Martin Jansa martin.jansa at gmail.com
Tue Oct 25 06:27:26 UTC 2011


* without this ARM_THUMB is also removing ARM_THUMBEE from
  defconfig and not setting it back

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 recipes-kernel/linux/linux.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc
index 7a25b59..781d5ba 100644
--- a/recipes-kernel/linux/linux.inc
+++ b/recipes-kernel/linux/linux.inc
@@ -24,7 +24,7 @@ LOCALVERSION ?= ""
 
 #kernel_conf_variable CMDLINE "\"${CMDLINE} ${CMDLINE_DEBUG}\""
 kernel_conf_variable() {
-	CONF_SED_SCRIPT="$CONF_SED_SCRIPT /CONFIG_$1/d;"
+	CONF_SED_SCRIPT="$CONF_SED_SCRIPT /CONFIG_$1[ =]/d;"
 	if test "$2" = "n"
 	then
 		echo "# CONFIG_$1 is not set" >> ${S}/.config
-- 
1.7.7





More information about the Openembedded-devel mailing list