Some more fine-tuning of the installation mechanism
This commit is contained in:
		
							parent
							
								
									c6931b04e7
								
							
						
					
					
						commit
						5fdefde095
					
				
					 2 changed files with 9 additions and 9 deletions
				
			
		|  | @ -6,19 +6,17 @@ export PATH | ||||||
| $SRC_HOME/first/create_dir $CONFIG | $SRC_HOME/first/create_dir $CONFIG | ||||||
| $SRC_HOME/first/create_dir $CONFIG/bin | $SRC_HOME/first/create_dir $CONFIG/bin | ||||||
| 
 | 
 | ||||||
| cat macros $SRC_HOME/first/mk_config > $CONFIG/bin/mk_config | echo "PATH=::$CONFIG/bin:$UTIL_HOME/bin:/bin:/usr/bin:/usr/ucb; export PATH" > $CONFIG/bin/TakeAction | ||||||
| cat macros $SRC_HOME/first/mk_target > $CONFIG/bin/mk_target | cat $SRC_HOME/TakeAction >> $CONFIG/bin/TakeAction | ||||||
| cat macros $SRC_HOME/first/limit_impl > $CONFIG/bin/limit_impl |  | ||||||
| 
 |  | ||||||
| sed '/^#PARAMS/r make_macros' < $SRC_HOME/first/mk_makefile > $CONFIG/bin/mk_makefile | sed '/^#PARAMS/r make_macros' < $SRC_HOME/first/mk_makefile > $CONFIG/bin/mk_makefile | ||||||
| chmod +x $CONFIG/bin/* |  | ||||||
| cp $SRC_HOME/first/create_dir $CONFIG/bin/create_dir | cp $SRC_HOME/first/create_dir $CONFIG/bin/create_dir | ||||||
|  | chmod +x $CONFIG/bin/* | ||||||
| 
 | 
 | ||||||
| mk_config | $SRC_HOME/first/mk_config | ||||||
| 
 | 
 | ||||||
| mk_target | $SRC_HOME/first/mk_target | ||||||
| 
 | 
 | ||||||
| limit_impl | $SRC_HOME/first/limit_impl | ||||||
| 
 | 
 | ||||||
| case $SYSNAME in | case $SYSNAME in | ||||||
| i386) | i386) | ||||||
|  | @ -82,4 +80,4 @@ esac | ||||||
| : and finally installing ... | : and finally installing ... | ||||||
| cd $CONFIG | cd $CONFIG | ||||||
| set +e | set +e | ||||||
| exec $SRC_HOME/TakeAction | exec TakeAction | ||||||
|  |  | ||||||
|  | @ -108,6 +108,7 @@ EOF | ||||||
| 	for j in libcc libcc.ansi libm2 libpc libbc liboc libf77 | 	for j in libcc libcc.ansi libm2 libpc libbc liboc libf77 | ||||||
| 	do | 	do | ||||||
| 	    create_dir $i/$j | 	    create_dir $i/$j | ||||||
|  | 	    rm -f $i/$j/No* | ||||||
| 	    cd $i/$j | 	    cd $i/$j | ||||||
| 	    mk_makefile $SRC_HOME/mach/proto/libg/proto.$j | sed -e "/#MACH_PARAMS/r $SRC_HOME/mach/$i/mach_params" > Makefile | 	    mk_makefile $SRC_HOME/mach/proto/libg/proto.$j | sed -e "/#MACH_PARAMS/r $SRC_HOME/mach/$i/mach_params" > Makefile | ||||||
| 	    cd ../.. | 	    cd ../.. | ||||||
|  | @ -118,6 +119,7 @@ EOF | ||||||
| 	then : | 	then : | ||||||
| 	else  | 	else  | ||||||
| 		create_dir $i/libsys | 		create_dir $i/libsys | ||||||
|  | 		rm -f $i/libsys/No* | ||||||
| 		cd $i/libsys | 		cd $i/libsys | ||||||
| 		mk_makefile $SRC_HOME/mach/proto/libg/proto.sysmon | sed -e "/#MACH_PARAMS/r $SRC_HOME/mach/$i/mach_params" > Makefile | 		mk_makefile $SRC_HOME/mach/proto/libg/proto.sysmon | sed -e "/#MACH_PARAMS/r $SRC_HOME/mach/$i/mach_params" > Makefile | ||||||
| 		cd ../.. | 		cd ../.. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue