Add basic d10v support
This commit is contained in:
parent
bfac208d92
commit
186dfd16ab
33
.Sanitize
33
.Sanitize
@ -237,6 +237,39 @@ else
|
||||
done
|
||||
fi
|
||||
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Processing \"d10v\"...
|
||||
fi
|
||||
|
||||
d10v_files="ChangeLog config.sub"
|
||||
|
||||
if ( echo $* | grep keep\-d10v > /dev/null ) ; then
|
||||
for i in $d10v_files ; do
|
||||
if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping d10v stuff in $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
else
|
||||
for i in * ; do
|
||||
if test ! -d $i && (grep sanitize-d10v $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing traces of \"d10v\" from $i...
|
||||
fi
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-d10v/,/end-\sanitize\-d10v/d' < $i > new
|
||||
if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Caching $i in .Recover...
|
||||
fi
|
||||
mv $i .Recover
|
||||
fi
|
||||
mv new $i
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
rce_files="config.sub"
|
||||
|
||||
if ( echo $* | grep keep\-rce > /dev/null ) ; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user