Make target writable
This commit is contained in:
parent
b61f465b1f
commit
80293fbc82
2 changed files with 4 additions and 1 deletions
|
@ -17,7 +17,6 @@ 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
|
||||||
|
|
||||||
|
@ -40,4 +39,7 @@ cp $SRC_HOME/etc/ip_spec.t $TARGET_HOME/etc/ip_spec.t
|
||||||
( cd $SRC_HOME/man ; tar cf - . ) | ( cd $TARGET_HOME/man ; tar xf - )
|
( cd $SRC_HOME/man ; tar cf - . ) | ( cd $TARGET_HOME/man ; tar xf - )
|
||||||
( cd $SRC_HOME/doc ; tar cf - . ) | ( cd $TARGET_HOME/doc ; tar xf - )
|
( cd $SRC_HOME/doc ; tar cf - . ) | ( cd $TARGET_HOME/doc ; tar xf - )
|
||||||
|
|
||||||
|
cd $TARGET_HOME
|
||||||
|
find . -type f -exec chmod +w {} \;
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
install:
|
install:
|
||||||
-rm -f $(TARGET_HOME)/bin/march
|
-rm -f $(TARGET_HOME)/bin/march
|
||||||
cp $(SRC_HOME)/util/shf/march.sh $(TARGET_HOME)/bin/march
|
cp $(SRC_HOME)/util/shf/march.sh $(TARGET_HOME)/bin/march
|
||||||
|
chmod +w $(TARGET_HOME)/bin/march
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@echo always clean
|
@echo always clean
|
||||||
|
|
Loading…
Add table
Reference in a new issue