浏览代码

Correction: also put ack_sys in conf/bin, otherwise mk_makefile does not work

ceriel 31 年之前
父节点
当前提交
e37939e8c8
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 4 0
      first/mk_config
  2. 0 1
      first/mk_target

+ 4 - 0
first/mk_config

@@ -2,6 +2,10 @@ set -e
 
 create_dir $CONFIG
 
+create_dir $CONFIG/bin
+echo "echo $SYSNAME" > $CONFIG/bin/ack_sys
+chmod +x $CONFIG/bin/ack_sys
+
 cd $SRC_HOME
 find . -type d -print > $CONFIG/dir_list
 

+ 0 - 1
first/mk_target

@@ -3,7 +3,6 @@ set -e
 : machine-dependant stuff
 
 create_dir $TARGET_HOME
-( cd $TARGET_HOME ; find . -exec chmod +w {} \; )
 create_dir $TARGET_HOME/config
 create_dir $TARGET_HOME/lib.bin
 create_dir $TARGET_HOME/modules