summaryrefslogtreecommitdiffstats
path: root/toolchain/toolchain-crosstool-ng/002-no-sysroot-prompt-in-backend.patch
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>2011-04-19 23:02:21 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-04-20 15:13:09 +0200
commitd9124d0da9caa35b1b99f11b14131ad3428f8eb5 (patch)
tree83690c2a0fb7741ba3af9de3937e2d09b586ca67 /toolchain/toolchain-crosstool-ng/002-no-sysroot-prompt-in-backend.patch
parentb4f976f28b6b95ade6b87525f95ab406b78aef87 (diff)
downloadbuildroot-novena-d9124d0da9caa35b1b99f11b14131ad3428f8eb5.tar.gz
buildroot-novena-d9124d0da9caa35b1b99f11b14131ad3428f8eb5.zip
toolchain/crosstool-NG: fix sysroot name
We have to ensure that the sysroot created while building the toolchain will be the one we later search for libraries. So: - hide the sysroot name prompt from the ct-ng menu. - force the sysroot name to be 'sysroot'. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/toolchain-crosstool-ng/002-no-sysroot-prompt-in-backend.patch')
-rw-r--r--toolchain/toolchain-crosstool-ng/002-no-sysroot-prompt-in-backend.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/toolchain/toolchain-crosstool-ng/002-no-sysroot-prompt-in-backend.patch b/toolchain/toolchain-crosstool-ng/002-no-sysroot-prompt-in-backend.patch
new file mode 100644
index 000000000..4c3426aa5
--- /dev/null
+++ b/toolchain/toolchain-crosstool-ng/002-no-sysroot-prompt-in-backend.patch
@@ -0,0 +1,12 @@
+diff --git a/config/toolchain.in b/config/toolchain.in
+--- a/config/toolchain.in
++++ b/config/toolchain.in
+@@ -20,7 +20,7 @@
+
+ config SYSROOT_NAME
+ string
+- prompt "sysroot directory name"
++ prompt "sysroot directory name" if ! BACKEND
+ depends on USE_SYSROOT
+ default "sysroot"
+ help