Changes in LFS/master.sh [c552eab:04a608b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
rc552eab r04a608b 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*) 131 wrt_makeflags "$name" "-j1" "1" ;; 132 *kernel*) # No CFLAGS for kernel 133 wrt_makeflags "$name" "$JH_MAKEFLAGS" "$N_PARALLEL" ;; 134 *) wrt_optimize "$name" && 135 wrt_makeflags "$name" "$JH_MAKEFLAGS" "$N_PARALLEL" ;; 130 0* | *binutils-pass1y | 15* | 167* | 177*) ;; 131 *kernel*) ;; # No CFLAGS for kernel 132 *) wrt_optimize "$name" ;; 136 133 esac 137 fi 134 # There is no need to tweak MAKEFLAGS anymore, this is done 135 # by lfs.xsl. But still, NINJAJOBS needs to be set if 136 # N_PARALLEL is defined. 137 if [ -n "N_PARALLEL" ]; then 138 wrt_makeflags "$name" "$JH_MAKEFLAGS" "$N_PARALLEL" 139 fi 140 fi # end of package specific instructions 138 141 139 142 # Some scriptlet have a special treatment; otherwise standard … … 287 290 done 288 291 292 # If CPUSET is defined and not equal to "all", then we define a first target 293 # that calls a script which re-enters make calling target all 294 if [ -n "$CPUSET" ] && [ "$CPUSET" != all ]; then 295 ( 296 cat << EOF 297 298 all-with-cpuset: 299 @CPUSPEC="\$(CPUSET)" ./run-in-cgroup.sh \$(MAKE) all 300 EOF 301 ) >> $MKFILE 302 fi 289 303 # Drop in the main target 'all:' and the chapter targets with each sub-target 290 304 # as a dependency. Also prevent running targets in parallel.
Note:
See TracChangeset
for help on using the changeset viewer.