mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
kconfig: fix savedefconfig to handle TPL correctly
Since 3ff291f371
(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>
This commit is contained in:
parent
8dffe663a2
commit
dee745bf3d
1 changed files with 3 additions and 3 deletions
|
@ -194,14 +194,14 @@ do_savedefconfig () {
|
||||||
for i in $output_lines
|
for i in $output_lines
|
||||||
do
|
do
|
||||||
case "$i" in
|
case "$i" in
|
||||||
"[+A-Z]*:$line")
|
[+A-Z]*:$line)
|
||||||
tmp="$tmp%$unmatched"
|
tmp="$tmp%$unmatched"
|
||||||
i=$(echo "$i" | \
|
i=$(echo "$i" | \
|
||||||
sed -e "s/^\([^:]\)*/\1$symbol/")
|
sed -e "s/^\([^:]*\)/\1$symbol/")
|
||||||
tmp="$tmp%$i"
|
tmp="$tmp%$i"
|
||||||
match=1
|
match=1
|
||||||
;;
|
;;
|
||||||
"$line")
|
$line)
|
||||||
tmp="$tmp%$unmatched"
|
tmp="$tmp%$unmatched"
|
||||||
tmp="$tmp%+$symbol:$i"
|
tmp="$tmp%+$symbol:$i"
|
||||||
match=1
|
match=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue