Skip to contentSkip to conversation

linux.inc: be more strict in CONF_SED_SCRIPT

meta-handheld Applied Martin Jansa 2 participants 2 messages Oct 25, 2011 – Nov 2, 2011

lore
Share & tools
lore
#0 lore raw

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

---
 recipes-kernel/linux/linux.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes-kernel/linux/linux.inc +1 -1
index 7a25b59..781d5ba 100644
@@ -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
Signature · 1 line
1.7.7
#1 lore raw
Quoted 13 lines · On Tuesday 25 October 2011 08:27:26 Martin Jansa wrote:

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

---
 recipes-kernel/linux/linux.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes-kernel/linux/linux.inc +0 -0
index 7a25b59..781d5ba 100644

recipes-kernel/linux/linux.inc LOCALVERSION ?= "" · line 30

Quoted 8 lines
recipes-kernel/linux/linux.inc +1 -1
@@ -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

Merged to meta-handheld master, thanks.

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre