summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-05-31 20:12:35 +0200
committerBenoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>2011-05-31 20:12:35 +0200
commit35fe8a047d4a0d14c74708434e2e4ba2d845681d (patch)
treec13433c1987ea10104b9df95f18000205c41da7f /config
parentb87fff5473c6314b10d44677ec109446124119b8 (diff)
downloadcrosstool-ng-35fe8a047d4a0d14c74708434e2e4ba2d845681d.tar.gz
crosstool-ng-35fe8a047d4a0d14c74708434e2e4ba2d845681d.tar.bz2
crosstool-ng-35fe8a047d4a0d14c74708434e2e4ba2d845681d.zip
gcc: promote PKGVERSION and BUGURL options to toolchain level
This patch promotes the PKGVERSION and BUGURL options to toolchain level so that all toolchain components supporting them can benefit from them. These options are passed to configure through --with-pkgversion and --with-bugurl. They are supported by binutils 2.18+, gcc 4.3+, eglibc 2.9+ and gdb 7.0+. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Diffstat (limited to 'config')
-rw-r--r--config/cc/gcc.in.220
-rw-r--r--config/toolchain.in18
2 files changed, 18 insertions, 20 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
index 770763de..bf333738 100644
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -1,25 +1,5 @@
# gcc configuration options
-config CC_PKGVERSION
- string
- prompt "gcc ID string"
- depends on CC_GCC_HAS_PKGVERSION_BUGURL
- default "crosstool-NG-${CT_VERSION}"
- help
- Specify a string that identifies your package. You may wish to include
- a build number or build date. This version string will be included in
- the output of gcc --version.
-
- This is passed to the configure flag --with-pkgversion.
-
-config CC_BUGURL
- string
- prompt "gcc bug URL"
- depends on CC_GCC_HAS_PKGVERSION_BUGURL
- default ""
- help
- Specify the URL that users should visit if they wish to report a bug.
-
config CC_ENABLE_CXX_FLAGS
string
prompt "Flags to pass to --enable-cxx-flags"
diff --git a/config/toolchain.in b/config/toolchain.in
index 072cf1b4..4fdea14b 100644
--- a/config/toolchain.in
+++ b/config/toolchain.in
@@ -66,6 +66,24 @@ config STATIC_TOOLCHAIN
NOTE: this has no connection to whether the target libraries will be
dynamic or static. This only applies to the tools themselves.
+config TOOLCHAIN_PKGVERSION
+ string
+ prompt "Toolchain ID string"
+ default "crosstool-NG-${CT_VERSION}"
+ help
+ Specify a string that identifies your package. You may wish to include
+ a build number or build date. This version string will be included in
+ the output of gcc --version.
+
+ This is passed to the configure flag --with-pkgversion.
+
+config TOOLCHAIN_BUGURL
+ string
+ prompt "Toolchain bug URL"
+ default ""
+ help
+ Specify the URL that users should visit if they wish to report a bug.
+
comment "Tuple completion and aliasing"
config TARGET_VENDOR