master.sh: use the new wrt_makeflags function
It now take three arguments: - name of the package - MAKEFLAGS - NINJAJOBS
This commit is contained in:
parent
86debb00ea
commit
d3dbebe625
1 changed files with 6 additions and 3 deletions
|
@ -128,9 +128,12 @@ chapter_targets() { #
|
|||
|
||||
# If using optimizations, write the instructions
|
||||
case "${OPTIMIZE}$1${nb_chaps}${this_script}${REALSBU}" in
|
||||
0* | *binutils-pass1y | 15* | 167* | 177*) ;;
|
||||
*kernel*) wrt_makeflags "$name" ;; # No CFLAGS for kernel
|
||||
*) wrt_optimize "$name" && wrt_makeflags "$name" ;;
|
||||
0* | *binutils-pass1y | 15* | 167* | 177*)
|
||||
wrt_makeflags "$name" "-j1" "1" ;;
|
||||
*kernel*) # No CFLAGS for kernel
|
||||
wrt_makeflags "$name" "$JH_MAKEFLAGS" "$N_PARALLEL" ;;
|
||||
*) wrt_optimize "$name" &&
|
||||
wrt_makeflags "$name" "$JH_MAKEFLAGS" "$N_PARALLEL" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
|
Reference in a new issue