Allow mk_config to run over existing tree, make ack_sys executable
This commit is contained in:
parent
f58f97e731
commit
b4ba1a6aca
2 changed files with 7 additions and 0 deletions
|
@ -14,9 +14,15 @@ cd $SRC_HOME
|
||||||
find . -type d -print > $CONFIG/dir_list
|
find . -type d -print > $CONFIG/dir_list
|
||||||
|
|
||||||
cd $CONFIG
|
cd $CONFIG
|
||||||
|
for i in mach/*/libsys
|
||||||
|
do
|
||||||
|
rm -rf $i
|
||||||
|
fi
|
||||||
|
|
||||||
for i in `cat dir_list`
|
for i in `cat dir_list`
|
||||||
do
|
do
|
||||||
create_dir $i
|
create_dir $i
|
||||||
|
rm -f $i/NoAction
|
||||||
if [ -f $SRC_HOME/$i/proto.make ]
|
if [ -f $SRC_HOME/$i/proto.make ]
|
||||||
then mk_makefile $MACROS $SRC_HOME/$i/proto.make > $i/Makefile
|
then mk_makefile $MACROS $SRC_HOME/$i/proto.make > $i/Makefile
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -17,6 +17,7 @@ create_dir $TARGET_HOME/bin
|
||||||
cp local.h em_path.h $TARGET_HOME/config
|
cp local.h em_path.h $TARGET_HOME/config
|
||||||
( cd $SRC_HOME/bin ; tar cf - . ) | ( cd $TARGET_HOME/bin ; tar xf - )
|
( cd $SRC_HOME/bin ; tar cf - . ) | ( cd $TARGET_HOME/bin ; tar xf - )
|
||||||
echo "echo $SYSNAME" > $TARGET_HOME/bin/ack_sys
|
echo "echo $SYSNAME" > $TARGET_HOME/bin/ack_sys
|
||||||
|
chmod +x $TARGET_HOME/bin/ack_sys
|
||||||
|
|
||||||
: machine-independant stuff
|
: machine-independant stuff
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue