From a3d0b97c8f6d59e4f840687f36beeeff8d07ecab Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Tue, 21 Nov 2023 00:43:41 +0200 Subject: [PATCH] Apply optimisations from #30 --- .buildbot/openwrt/build.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.buildbot/openwrt/build.sh b/.buildbot/openwrt/build.sh index 2fd99b2..566cf0e 100755 --- a/.buildbot/openwrt/build.sh +++ b/.buildbot/openwrt/build.sh @@ -11,6 +11,9 @@ set -x +renice -n 19 $$ +MAKE="make -j$(nproc)" + tar -xJf /Downloads/openwrt-sdk-${OPENWRT_VERSION}-*.tar.xz cp -r feed openwrt-sdk-*/ @@ -30,14 +33,14 @@ make defconfig # Enable collectd network encryption echo "CONFIG_PACKAGE_COLLECTD_ENCRYPTED_NETWORK=y" >> .config -make package/i2c-tools/compile -make package/kmod-nvme/compile +${MAKE} package/i2c-tools/compile make package/kmod-i2c-mux-pinctrl/compile +make package/kmod-nvme/compile make package/kmod-rtc-pcf85063/compile make package/nvme-cli/compile make package/ansible-core/compile -make package/asterisk-chan-quectel/compile -make package/collectd/compile +${MAKE} package/asterisk-chan-quectel/compile +${MAKE} package/collectd/compile sdkdir=$(pwd) cd ${pwd}