Changeset aa08925 for LFS


Ignore:
Timestamp:
04/12/2006 07:38:42 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
b242136
Parents:
d80021c3
Message:

Generating truly separate sets of final system packages targets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/master.sh

    rd80021c3 raa08925  
    146146chapter6_Makefiles() {
    147147#----------------------------#
    148   echo "${tab_}${GREEN}Processing... ${L_arrow}Chapter6${R_arrow}"
     148  # Set N and chapter6 for iteration targets
     149  if [[ -z $1 ]] ; then
     150    local N=""
     151  else
     152    local N=-build_$1
     153    local chapter6=""
     154  fi
     155
     156  echo "${tab_}${GREEN}Processing... ${L_arrow}Chapter6$N${R_arrow}"
    149157
    150158  for file in chapter06/* ; do
     
    161169    # First append each name of the script files to a list (this will become
    162170    # the names of the targets in the Makefile
    163     chapter6="$chapter6 ${this_script}"
     171    chapter6="$chapter6 ${this_script}${N}"
    164172
    165173    # Grab the name of the target
     
    172180    # Drop in the name of the target on a new line, and the previous target
    173181    # as a dependency. Also call the echo_message function.
    174     wrt_target "${this_script}" "$PREV"
     182    wrt_target "${this_script}${N}" "$PREV"
    175183
    176184    # Find the version of the command files, if it corresponds with the building of
     
    206214
    207215    # Keep the script file name for Makefile dependencies.
    208     PREV=${this_script}
     216    PREV=${this_script}${N}
     217    # Set system_build envar for iteration targets
     218    system_build=$chapter6
    209219  done # end for file in chapter06/*
    210220}
Note: See TracChangeset for help on using the changeset viewer.