mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-19 07:24:48 +00:00
Always keep all MPW support files
This commit is contained in:
parent
3da0c638f8
commit
241d8883ed
@ -15,14 +15,6 @@
|
||||
|
||||
Do-first:
|
||||
|
||||
mpw_files="mpw-config.in mpw-make.in ChangeLog.mpw"
|
||||
|
||||
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
|
||||
keep_these_too="${mpw_files} ${keep_these_too}"
|
||||
else
|
||||
lose_these_too="${mpw_files} ${lose_these_too}"
|
||||
fi
|
||||
|
||||
rce_files="cpu-rce.c aout-rce.c"
|
||||
|
||||
if ( echo $* | grep keep\-rce > /dev/null ) ; then
|
||||
@ -191,6 +183,8 @@ m68knetbsd.c
|
||||
m88kmach3.c
|
||||
makefile.dos
|
||||
mipsbsd.c
|
||||
mpw-config.in
|
||||
mpw-make.in
|
||||
newsos3.c
|
||||
netbsd.h
|
||||
nlm-target.h
|
||||
@ -231,28 +225,6 @@ Things-to-lose:
|
||||
|
||||
Do-last:
|
||||
|
||||
mpwfiles="ecoffswap.h coffswap.h"
|
||||
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping mpw stuff in $mpwfiles.
|
||||
fi
|
||||
else
|
||||
if [ -n "${verbose}" ]; then
|
||||
echo -n Cleaning mpw in `pwd`:
|
||||
fi
|
||||
for f in $mpwfiles ; do
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo -n " " $f
|
||||
fi
|
||||
sed '/start\-sanitize\-mpw/,/end\-sanitize\-mpw/d' < $f > new
|
||||
if [ -n "${safe}" ] ; then
|
||||
mv $f .Recover
|
||||
fi
|
||||
mv new $f
|
||||
done
|
||||
chmod a+x config.bfd
|
||||
fi
|
||||
|
||||
i960xl_files="ChangeLog archures.c bfd-in2.h cpu-i960.c coffcode.h"
|
||||
if ( echo $* | grep keep\-i960xl > /dev/null ) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
|
@ -15,11 +15,6 @@
|
||||
|
||||
Do-first:
|
||||
|
||||
if ( echo $* | grep keep\-mpw > /dev/null ) ; then
|
||||
keep_these_too="mpw.h"
|
||||
else
|
||||
lose_these_too="mpw.h"
|
||||
fi
|
||||
|
||||
# All files listed between the "Things-to-keep:" line and the
|
||||
# "Files-to-sed:" line will be kept. All other files will be removed.
|
||||
@ -66,6 +61,7 @@ m88kmach3.h
|
||||
miniframe.h
|
||||
mipsbsd.h
|
||||
mipsmach3.h
|
||||
mpw.h
|
||||
nbsd.h
|
||||
ncr3000.h
|
||||
news-mips.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user