Changeset 63190e6 for LFS/master.sh
- Timestamp:
- 11/15/2023 05:24:22 PM (8 months ago)
- Branches:
- ablfs-more, trunk
- Children:
- cacc6c5
- Parents:
- 3c43655
- git-author:
- Pierre Labastie <pierre.labastie@…> (11/15/2023 05:16:10 PM)
- git-committer:
- Pierre Labastie <pierre.labastie@…> (11/15/2023 05:24:22 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
r3c43655 r63190e6 128 128 # If using optimizations, write the instructions 129 129 case "${OPTIMIZE}$1${nb_chaps}${this_script}${REALSBU}" in 130 0* | *binutils-pass1y | 15* | 167* | 177*) 130 0* | *binutils-pass1y | 15* | 167* | 177*) ;; 131 *kernel*) ;; # No CFLAGS for kernel 132 *) wrt_optimize "$name" ;; 133 esac 134 # MAKEFLAGS is set even if no optimization now. 135 # For new books, the scripts contain the MAKEFLAGS, so no 136 # need to set them in the envars except if binutils-pass1 137 # and REALSBU=y. For Old books, N_PARALLEL and JH_MAKEFLAGS 138 # are set and we must set the envars. 139 case "${mkf_included}${this_script}${REALSBU}" in 140 *binutils-pass1y) 131 141 wrt_makeflags "$name" "-j1" "1" ;; 132 *kernel*) # No CFLAGS for kernel 133 wrt_makeflags "$name" "$JH_MAKEFLAGS" "$N_PARALLEL" ;; 134 *) wrt_optimize "$name" && 142 n*) 135 143 wrt_makeflags "$name" "$JH_MAKEFLAGS" "$N_PARALLEL" ;; 136 144 esac … … 252 260 # echo nb_chaps: $nb_chaps 253 261 # end DEBUG 262 263 # We need to know if we have an old or a new book (with included MAKEFLAGS) 264 # we grep for MAKEFLAGS in chapter04 to find out. 265 if grep -q MAKEFLAGS chapter04/*; then 266 mkf_included=y 267 else 268 mkf_included=n 269 fi 254 270 255 271 # Make a temporary file with all script targets
Note:
See TracChangeset
for help on using the changeset viewer.