aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc64/config.sh')
-rwxr-xr-xarch/ppc64/config.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/ppc64/config.sh b/arch/ppc64/config.sh
index c40ba0fc..0bb4ad4a 100755
--- a/arch/ppc64/config.sh
+++ b/arch/ppc64/config.sh
@@ -12,7 +12,8 @@ KERNEL_BINARY="vmlinux"
DEFAULT_COMPRESS_INITRD=yes
DEFAULT_COMPRESS_INITRD_TYPE=best
-DEFAULT_MAKEOPTS="-j2"
+PORTAGE_MAKEOPTS="$(portageq envvar MAKEOPTS)"
+DEFAULT_MAKEOPTS="${PORTAGE_MAKEOPTS:- -j2}"
DEFAULT_KERNEL_MAKE=make
DEFAULT_UTILS_MAKE=make