Changeset 9ef12f7


Ignore:
Timestamp:
06/05/2020 10:18:27 AM (4 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
36f5dce
Parents:
7e0a1b8
Message:

Use a private name for MAKEFLAGS in jhalfs, so that it does not propagate
to top make, when ticking "Run the makefile"

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    r7e0a1b8 r9ef12f7  
    3737    if [ -e "$MKFILE" ] ; then
    3838      echo -ne "Building the system...\n"
     39      if { echo try tty; tty; }; then
    3940      cd "$JHALFSDIR" && make
    4041      echo -ne "done\n"
     42      else echo there is no terminal!!; fi
    4143    fi
    4244  fi
  • jhalfs

    r7e0a1b8 r9ef12f7  
    369369  # The number of parallel jobs is taken from configuration now
    370370  # shellcheck disable=SC2034
    371   MAKEFLAGS="-j${N_PARALLEL}"
     371  JH_MAKEFLAGS="-j${N_PARALLEL}"
    372372  # Validate optimize settings, if required
    373373  validate_opt_settings
  • optimize/opt_config.d/noOpt

    r7e0a1b8 r9ef12f7  
    99#          doing.  By default, this is set to disable optimization
    1010#          of packages known to have build or runtime failure.
    11 #
    12 #          Also, if you what to use MAKEFLAGS but no build
    13 #          optimizations, set this mode in DEF_OPT_MODE
    1411#
    1512# Usage: - Apply optimization string to each variable
  • optimize/optimize_functions

    r7e0a1b8 r9ef12f7  
    1919  echo -e "asking for support.${OFF}\n"
    2020
    21   echo -e "MAKEFLAGS: ${L_arrow}${BOLD}${MAKEFLAGS}${OFF}${R_arrow}"
    22   [[ "$MAKEFLAGS" = "unset" ]] && echo
    23   [[ "$MAKEFLAGS" != "unset" ]] && \
     21  echo -e "MAKEFLAGS: ${L_arrow}${BOLD}${JH_MAKEFLAGS}${OFF}${R_arrow}"
     22  [ -n "$JH_MAKEFLAGS" ] && \
    2423  echo -e "BLACK_LIST: ${L_arrow}${BOLD}${BLACK_LIST}${OFF}${R_arrow}\n"
    2524
     
    7978    MKF=unset
    8079  else
    81     MKF=$MAKEFLAGS
     80    MKF=$JH_MAKEFLAGS
    8281  fi
    8382
     
    8584(
    8685cat << EOF
    87         @echo "export MAKEFLAGS=\"$MAKEFLAGS\"" >> envars
     86        @echo "export MAKEFLAGS=\"$JH_MAKEFLAGS\"" >> envars
    8887EOF
    8988) >> $MKFILE.tmp
Note: See TracChangeset for help on using the changeset viewer.