OSDN Git Service

Add MS7619SE
[uclinux-h8/uClinux-dist.git] / config / fixconfig
1 #!/bin/sh
2 #############################################################################
3 #
4 # Having to fix up all the configs all the time is just a pain,  here
5 # we provide a nice way to quickly default any values that are not set
6 #
7 # Be sure to check the diffs before you commit the changes that this
8 # script makes.
9 #
10 # Copyright (C) 2001 Lineo
11 #
12 #############################################################################
13
14 for i in */*/vendor.config; do
15         echo "Checking $i ..."
16         grep CONFIG_ config.in | sed 's/.*\(CONFIG_[A-Z0-9_]*\).*$/\1/' |
17                 sort | uniq | \
18                 while read t; do
19                         grep "$t=" $i > /dev/null && continue
20                         grep "$t " $i > /dev/null && continue
21                         echo "# $t is not set" >> $i
22                         echo "    added $t"
23                 done
24 done
25
26 ############################################################################