summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-01-29 22:14:53 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-01-29 22:14:53 (GMT)
commit88d3a95eca7d1bac5039aad67f53da3962fc8564 (patch)
tree24fbae3b80850aed7619373ef90f0484e4878c8c
parent3bd33664dff6810a9929dc700a7e9a2de5df76f7 (diff)
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'
-rw-r--r--config/global/build-behave.in8
-rw-r--r--scripts/crosstool-NG.sh.in3
2 files changed, 0 insertions, 11 deletions
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