defconfig_path=$srctree/configs/$1
tmp_defconfig_path=configs/.tmp_defconfig
+ if [ ! -r $defconfig_path ]; then
+ echo >&2 "***"
+ echo >&2 "*** Can't find default configuration \"confis/$1\"!"
+ echo >&2 "***"
+ exit 1
+ fi
+
mkdir -p arch configs
# defconfig for Normal:
# pick lines without prefixes and lines starting '+' prefix
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