diff mbox

[U-Boot,v2,3/4] kconfig: fix savedefconfig to handle TPL correctly

Message ID 1409776894-30441-4-git-send-email-yamada.m@jp.panasonic.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Masahiro Yamada Sept. 3, 2014, 8:41 p.m. UTC
Since 3ff291f371fa9858426774f3732924bacb61ed1c
(kconfig: convert Kconfig helper script into a shell script),
"make savedefconfig" of TPL boards has not been working.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

Changes in v2:
  - Newly added

 scripts/multiconfig.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Simon Glass Sept. 3, 2014, 11:51 p.m. UTC | #1
On 3 September 2014 14:41, Masahiro Yamada <yamada.m@jp.panasonic.com> wrote:
> Since 3ff291f371fa9858426774f3732924bacb61ed1c
> (kconfig: convert Kconfig helper script into a shell script),
> "make savedefconfig" of TPL boards has not been working.
>
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Acked-by: Simon Glass <sjg@chromium.o.rg
Simon Glass Sept. 3, 2014, 11:52 p.m. UTC | #2
On 3 September 2014 17:51, Simon Glass <sjg@chromium.org> wrote:
> On 3 September 2014 14:41, Masahiro Yamada <yamada.m@jp.panasonic.com> wrote:
>> Since 3ff291f371fa9858426774f3732924bacb61ed1c
>> (kconfig: convert Kconfig helper script into a shell script),
>> "make savedefconfig" of TPL boards has not been working.
>>
>> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

I mean:

Acked-by: Simon Glass <sjg@chromium.org>
Tom Rini Sept. 17, 2014, 12:45 a.m. UTC | #3
On Thu, Sep 04, 2014 at 05:41:33AM +0900, Masahiro Yamada wrote:

> Since 3ff291f371fa9858426774f3732924bacb61ed1c
> (kconfig: convert Kconfig helper script into a shell script),
> "make savedefconfig" of TPL boards has not been working.
> 
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> Acked-by: Simon Glass <sjg@chromium.o.rg
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh
index 7606193..a579042 100644
--- a/scripts/multiconfig.sh
+++ b/scripts/multiconfig.sh
@@ -194,14 +194,14 @@  do_savedefconfig () {
 			for i in $output_lines
 			do
 				case "$i" in
-				"[+A-Z]*:$line")
+				[+A-Z]*:$line)
 					tmp="$tmp%$unmatched"
 					i=$(echo "$i" | \
-					    sed -e "s/^\([^:]\)*/\1$symbol/")
+					    sed -e "s/^\([^:]*\)/\1$symbol/")
 					tmp="$tmp%$i"
 					match=1
 					;;
-				"$line")
+				$line)
 					tmp="$tmp%$unmatched"
 					tmp="$tmp%+$symbol:$i"
 					match=1