diff --git a/LFS/lfs.xsl b/LFS/lfs.xsl index 26982b0..d96aa60 100644 --- a/LFS/lfs.xsl +++ b/LFS/lfs.xsl @@ -31,6 +31,9 @@ + + + @@ -1251,7 +1254,14 @@ cd $PKGDIR export MAKEFLAGS="-j - + + + + + + + + " SECONDS=${PREV_SEC} diff --git a/common/libs/func_book_parser b/common/libs/func_book_parser index 6b7435b..e754666 100644 --- a/common/libs/func_book_parser +++ b/common/libs/func_book_parser @@ -67,8 +67,9 @@ extract_commands() { # JOBS="\$(nproc)" else JOBS="$N_PARALLEL" - fi + if [ "REALSBU" = y ]; then JOBSBP1=1; else JOBSBP1="$JOBS"; fi + # First profile the book, for revision and arch. Note that # MULTIBLIB is set to "default" if pure 64 bit book. In this case, # profiling on arch is useless, but does not hurt either. @@ -109,6 +110,7 @@ extract_commands() { # --stringparam log-level "$LOG_LEVEL" \ --stringparam script-root "$SCRIPT_ROOT" \ --stringparam jobs "$JOBS" \ + --stringparam jobs-bp1 "$JOBSBP1" \ --output "./${COMMANDS}/" \ $XSL \ prbook.xml >> $LOGDIR/$LOG 2>&1