From 88d3a95eca7d1bac5039aad67f53da3962fc8564 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 29 Jan 2010 23:14:53 +0100 Subject: global: do not offer the renice option, let's the user handle that It's broken anyway. Eg.: - user is already niced at 10 - user configures to renice at 5 - breaks because user is not allowed to 'boost' his/her nice value Bette let the user handle the renice with: nice -XX ct-ng 'action' diff --git a/config/global/build-behave.in b/config/global/build-behave.in index b0a1040..8190710 100644 --- a/config/global/build-behave.in +++ b/config/global/build-behave.in @@ -28,14 +28,6 @@ config LOAD Note: only the integer part of the load is allowed here (you can't enter 0.75 for example). -config NICE - int - prompt "Nice level" - default 0 - range 0 19 - help - Renices the build process up. - config USE_PIPES bool prompt "Use -pipe" diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in index 50db26f..ff490de 100644 --- a/scripts/crosstool-NG.sh.in +++ b/scripts/crosstool-NG.sh.in @@ -97,9 +97,6 @@ CT_STAR_DATE_HUMAN=$(CT_DoDate +%Y%m%d.%H%M%S) # Log real begining of build, now CT_DoLog INFO "Build started ${CT_STAR_DATE_HUMAN}" -# renice oursleves -CT_DoExecLog DEBUG renice ${CT_NICE} $$ - CT_DoStep DEBUG "Dumping user-supplied crosstool-NG configuration" CT_DoExecLog DEBUG grep -E '^(# |)CT_' .config CT_EndStep -- cgit v0.10.2-6-g49f6