4 local basedir
=`dirname $1`
5 cat "$1" |
while read LINE
; do
6 local first_word
=`echo $LINE | cut -f1 -d' '`
7 if test "$first_word" = "config"; then
8 echo $LINE |
sed -e 's:^config \(.*\):CONFIG_\1=y:g'
9 elif test "$first_word" = "source"; then
10 local rest
=`echo $LINE | cut -f2- -d' '`
11 process
"$basedir/$rest"