From cbe7e0468d91a4459a1c936b40ee83fe69fd12f5 Mon Sep 17 00:00:00 2001 From: bryan Date: Mon, 28 Jul 2025 01:02:49 -0400 Subject: [PATCH] Use multicore debug --- README.md | 2 +- openwrtbuilder | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 738fa56..a746373 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # openwrtbuilder -Build and deploy OpenWRT images using convenient profiles. +Build and deploy OpenWRT images using convenient shell-style device profiles. ## Usage diff --git a/openwrtbuilder b/openwrtbuilder index c30fb2a..5a05a4d 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Builds and deploys OpenWRT images +# Build and deploy OpenWRT images using convenient shell-style device profiles. # Copyright 2022-25 Bryan C. Roessler # Apache 2.0 License # See README and profiles for device configuration @@ -605,7 +605,8 @@ from_source() { # Make prep execute make "${make_opts[@]}" "-j1" defconfig execute make "${make_opts[@]}" "-j1" download - ((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-1))") + # ((DEBUG)) && make_opts+=("-j1") || make_opts+=("-j$(($(nproc)-1))") + make_opts+=("-j$(($(nproc)-1))") # Make image if ! execute ionice -c 3 chrt --idle 0 nice -n19 make "${make_opts[@]}" world; then