Use multicore debug

Tento commit je obsažen v:
2025-07-28 01:02:49 -04:00
rodič a664b70cf4
revize cbe7e0468d
2 změnil soubory, kde provedl 4 přidání a 3 odebrání

Zobrazit soubor

@@ -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

Zobrazit soubor

@@ -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