Changeset fb68d23 for LFS


Ignore:
Timestamp:
04/09/2006 11:22:51 AM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
97520c9
Parents:
02d1ae7
Message:

Added COMPARE config option to avoid to have to test if RUN_ICA or RUN_FARCE are set.
Changed ICA_rebuild by system_rebuild.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    r02d1ae7 rfb68d23  
    157157      *chroot)      continue ;;
    158158      *stripping*) [[ "${STRIP}" = "0" ]] && continue
    159                    [[ "${STRIP}" != "0" ]] && [[ "$RUN_ICA" != "0" ]] && \
    160                    ICA_rebuild="$ICA_rebuild ${this_script}"
     159                   [[ "${STRIP}" != "0" ]] && [[ "$COMPARE" != "0" ]] && \
     160                   system_rebuild="$system_rebuild ${this_script}"
    161161      ;;
    162162    esac
     
    186186      FILE="$name-$vrs.tar.*"
    187187      wrt_unpack2 "$FILE"
    188       # Add it to the ICA_rebuild target
    189       [[ "$RUN_ICA" != "0" ]] && ICA_rebuild="$ICA_rebuild ${this_script}"
     188      # Add it to the system_rebuild target
     189      [[ "$COMPARE" != "0" ]] && system_rebuild="$system_rebuild ${this_script}"
    190190    fi
    191191
     
    220220  echo "${tab_}${GREEN}Processing... ${L_arrow}Chapter7/8/9${R_arrow}"
    221221
    222   # Reset $PREV for ICA runs
    223   [[ "$RUN_ICA" != "0" ]] && PREV=iteration-last
     222  # Reset $PREV for ICA/farce runs
     223  [[ "$COMPARE" != "0" ]] && PREV=iteration-last
    224224
    225225  for file in chapter0{7,8,9}/* ; do
     
    402402) >> $MKFILE
    403403
    404   # Add the ICA targets
    405   [[ "$RUN_ICA" != "0" ]] && wrt_ica_targets "$ICA_rebuild"
     404  # Add the ICA/farce targets
     405  [[ "$COMPARE" != "0" ]] && wrt_ica_targets "$system_rebuild"
    406406
    407407  # Bring over the items from the Makefile.tmp
Note: See TracChangeset for help on using the changeset viewer.