Debian Codegraph @

libdde-linux26/mk/redo_defconfigs

raw
1 #! /bin/sh
2
3 set -x
4
5 TMPDIR=$(mktemp -d)
6
7 exithandler()
8 {
9 rm -r $TMPDIR
10 }
11
12 trap exithandler EXIT
13
14 cd ..
15
16 for i in mk/defconfig/config.*; do
17 DROPSCONF_DEFCONFIG=$i make O=$TMPDIR oldconfig
18 diff -u $i $TMPDIR/.Makeconf.bid
19 grep -v '^DROPS_STDDIR=' $TMPDIR/.Makeconf.bid > $i
20 rm $TMPDIR/{.Makeconf.bid,.Makeconf.bid.converted,Makeconf.bid.local,Makeconf.bid.local.indep}
21 done