Changeset 9bbf240 for CLFS3/master.sh
- Timestamp:
- 02/15/2007 07:15:05 PM (18 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 0c2d20a
- Parents:
- a9ca77f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
CLFS3/master.sh
ra9ca77f r9bbf240 119 119 } 120 120 121 #-----------------------------# 122 systemprep_Makefiles() { # 123 #-----------------------------# 124 echo "${tab_}${GREEN}Processing... ${L_arrow}system prep tools ( LUSER ) ${R_arrow}" 125 126 for file in systemprep/* ; do 127 # Keep the script file name 128 this_script=`basename $file` 129 130 # Set the dependency for the first target. 131 if [ -z $PREV ] ; then PREV=028-creating-sysfile ; fi 132 133 # First append each name of the script files to a list (this will become 134 # the names of the targets in the Makefile) 135 cross_tools="$cross_tools $this_script" 136 137 # Grab the name of the target (minus the -headers or -cross in the case of gcc 138 # and binutils in chapter 5) 139 name=`echo $this_script | sed -e 's@[0-9]\{3\}-@@'` 140 141 pkg_tarball=$(get_package_tarball_name $name) 142 #--------------------------------------------------------------------# 143 # >>>>>>>> START BUILDING A Makefile ENTRY <<<<<<<< # 144 #--------------------------------------------------------------------# 145 # 146 # Drop in the name of the target on a new line, and the previous target 147 # as a dependency. Also call the echo_message function. 148 LUSER_wrt_target "${this_script}" "$PREV" 149 # 150 # If $pkg_tarball isn't empty, we've got a package... 151 if [ "$pkg_tarball" != "" ] ; then 152 LUSER_wrt_unpack "$pkg_tarball" 153 fi 154 # 155 LUSER_wrt_RunAsUser "${file}" 156 # 157 [[ "$pkg_tarball" != "" ]] && LUSER_RemoveBuildDirs "${name}" 158 # 159 # Include a touch of the target name so make can check if it's already been made. 160 wrt_touch 161 # 162 #--------------------------------------------------------------------# 163 # >>>>>>>> END OF Makefile ENTRY <<<<<<<< # 164 #--------------------------------------------------------------------# 165 # 166 # Keep the script file name for Makefile dependencies. 167 PREV=$this_script 168 169 done # for file in .... 170 } 171 121 172 122 173 #-----------------------------# … … 124 175 #-----------------------------# 125 176 echo "${tab_}${GREEN}Processing... ${L_arrow}cross tools ( LUSER ) ${R_arrow}" 126 127 for file in cross-tools/* ; do 177 178 for file in cross-tools/* ; do 128 179 # Keep the script file name 129 180 this_script=`basename $file` … … 408 459 409 460 host_prep_Makefiles 461 [[ "${PLATFORM% -*}" = "WRT" ]] && systemprep_Makefiles # $cross_tools 410 462 cross_tools_Makefiles # $cross_tools 411 463 final_system_Makefiles # $basicsystem
Note:
See TracChangeset
for help on using the changeset viewer.