From 8e5b9c9be0b0dd8d6b64857845dac707139a0632 Mon Sep 17 00:00:00 2001 From: JC Staudt <24510452+jcstaudt@users.noreply.github.com> Date: Mon, 8 Oct 2018 22:55:21 -0700 Subject: [PATCH] Use -j`nproc` instead of -j4 Using -j`nproc`` rather than -j4 allows scaling based on the number of processors available. nproc is provided in the coreutils package. --- SOFTWARE/A64-TERES/scripts/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SOFTWARE/A64-TERES/scripts/README.md b/SOFTWARE/A64-TERES/scripts/README.md index 000feae3..60b276dc 100644 --- a/SOFTWARE/A64-TERES/scripts/README.md +++ b/SOFTWARE/A64-TERES/scripts/README.md @@ -22,9 +22,9 @@ sudo apt install kpartx bsdtar mtools dos2unix device-tree-compiler cd linux-a64 make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- olimex_teres1_defconfig make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- LOCALVERSION= clean -make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j4 LOCALVERSION= Image -make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j4 LOCALVERSION= modules -make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j4 LOCALVERSION= modules_install INSTALL_MOD_PATH=out INSTALL_MOD_STRIP=1 +make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j`nproc` LOCALVERSION= Image +make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j`nproc` LOCALVERSION= modules +make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j`nproc` LOCALVERSION= modules_install INSTALL_MOD_PATH=out INSTALL_MOD_STRIP=1 ``` #### Allwinner Pack Tools @@ -63,8 +63,8 @@ file to `.config` of your Busybox folder. ```bash cp blobs/a64_config_busybox busybox/.config cd busybox -make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j4 oldconfig -make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j4 +make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j`nproc` oldconfig +make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j`nproc` ``` ### Make initrd.gz