Changeset eb024db
- Timestamp:
- 04/11/2006 08:03:19 PM (18 years ago)
- Branches:
- experimental
- Children:
- d27c9ca
- Parents:
- a212c80
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
ra212c80 reb024db 156 156 case "${this_script}" in 157 157 *chroot) continue ;; 158 *stripping*) [[ "${STRIP}" = "0" ]] && continue 159 [[ "${STRIP}" != "0" ]] && [[ "$COMPARE" != "0" ]] && \ 160 system_rebuild="$system_rebuild ${this_script}" 161 ;; 158 *stripping*) [[ "${STRIP}" = "0" ]] && continue ;; 162 159 esac 163 160 … … 186 183 FILE="$name-$vrs.tar.*" 187 184 wrt_unpack2 "$FILE" 188 # Add it to the system_rebuild target189 [[ "$COMPARE" != "0" ]] && system_rebuild="$system_rebuild ${this_script}"190 185 fi 191 186 … … 311 306 chapter5_Makefiles 312 307 chapter6_Makefiles 308 # Add the ICA/farce targets, if needed 309 [[ "$COMPARE" != "0" ]] && wrt_ica_targets 313 310 chapter789_Makefiles 314 311 … … 402 399 ) >> $MKFILE 403 400 404 # Add the ICA/farce targets405 [[ "$COMPARE" != "0" ]] && wrt_ica_targets "$system_rebuild"406 407 401 # Bring over the items from the Makefile.tmp 408 402 cat $MKFILE.tmp >> $MKFILE -
common/func_ICA.sh
ra212c80 reb024db 4 4 wrt_ica_targets() { # 5 5 #----------------------------------# 6 local system_rebuild=$17 wrt_system_rebuild "$system_rebuild"8 wrt_iterations "$system_rebuild"9 }10 11 #----------------------------------#12 wrt_system_rebuild() { #13 #----------------------------------#14 local system_rebuild=$115 (16 cat << EOF17 system_rebuild: $system_rebuild18 19 EOF20 ) >> $MKFILE21 }22 23 #----------------------------------#24 wrt_iterations() { #25 #----------------------------------#26 local system_rebuild=$127 6 28 7 for ((N=1; N <= ITERATIONS ; N++)) ; do # Double parentheses, … … 32 11 echo "$ITERATION: chapter6" >> $MKFILE 33 12 echo -e "\t@\$(call echo_message, Building)" >> $MKFILE 34 wrt_ prepare"$ITERATION"13 wrt_ica_work "$ITERATION" 35 14 wrt_logs_and_clean "$ITERATION" 36 PREV=$ITERATION37 elif [ "$N" = "$ITERATIONS" ] ; then38 echo "iteration-last: $PREV system_ rebuild" >> $MKFILE15 else 16 wrt_system_build $N 17 echo "iteration-last: $PREV system_build_$N" >> $MKFILE 39 18 echo -e "\t@\$(call echo_message, Building)" >> $MKFILE 40 wrt_prepare "$ITERATION" "$PREV" 41 wrt_logs "$ITERATION" 42 else 43 echo "$ITERATION: $PREV system_rebuild" >> $MKFILE 44 echo -e "\t@\$(call echo_message, Building)" >> $MKFILE 45 wrt_prepare "$ITERATION" "$PREV" 46 wrt_logs_and_clean "$ITERATION" 47 PREV=$ITERATION 19 wrt_ica_work "$ITERATION" "$PREV" 20 if [ "$N" = "$ITERATIONS" ] ; then 21 wrt_logs "$ITERATION" 22 else 23 wrt_logs_and_clean "$ITERATION" 24 fi 48 25 fi 26 PREV=$ITERATION 49 27 done 50 28 } 51 29 52 30 #----------------------------------# 53 wrt_prepare() { # 31 wrt_system_build() { # 32 #----------------------------------# 33 local RUN=$1 34 35 # Placeholder for now 36 } 37 38 #----------------------------------# 39 wrt_ica_work() { # 54 40 #----------------------------------# 55 41 local ITERATION=$1
Note:
See TracChangeset
for help on using the changeset viewer.