Changes in LFS/master.sh [04a608b:c552eab]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
r04a608b rc552eab 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 *kernel*) ;; # No CFLAGS for kernel 132 *) wrt_optimize "$name" ;; 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" ;; 133 136 esac 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 137 fi 141 138 142 139 # Some scriptlet have a special treatment; otherwise standard … … 290 287 done 291 288 292 # If CPUSET is defined and not equal to "all", then we define a first target293 # that calls a script which re-enters make calling target all294 if [ -n "$CPUSET" ] && [ "$CPUSET" != all ]; then295 (296 cat << EOF297 298 all-with-cpuset:299 @CPUSPEC="\$(CPUSET)" ./run-in-cgroup.sh \$(MAKE) all300 EOF301 ) >> $MKFILE302 fi303 289 # Drop in the main target 'all:' and the chapter targets with each sub-target 304 290 # as a dependency. Also prevent running targets in parallel.
Note:
See TracChangeset
for help on using the changeset viewer.