diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-13 16:58:52 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-10-13 16:58:52 +0000 |
commit | 5ae048e78b04cd25abb4adce1b53fbaf4ad18add (patch) | |
tree | 855150b0ebe9a3b10fa2c9d625c0d87d06d121ff /config/cc.in | |
parent | d2fe51a715cf16f94abb23b34b48549b0d63d4e4 (diff) | |
download | crosstool-ng-5ae048e78b04cd25abb4adce1b53fbaf4ad18add.tar.gz crosstool-ng-5ae048e78b04cd25abb4adce1b53fbaf4ad18add.tar.bz2 crosstool-ng-5ae048e78b04cd25abb4adce1b53fbaf4ad18add.zip |
Generate the choice menu for C compilers, the same way arch, kernels and C libraries are generated.
/trunk/kconfig/kconfig.mk | 6 6 0 0 ++++++
/trunk/config/cc/gcc.in | 13 13 0 0 +++++++++++++
/trunk/config/cc.in | 31 3 28 0 +++----------------------------
3 files changed, 22 insertions(+), 28 deletions(-)
Diffstat (limited to 'config/cc.in')
-rw-r--r-- | config/cc.in | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/config/cc.in b/config/cc.in index a88832ea..d383be34 100644 --- a/config/cc.in +++ b/config/cc.in @@ -2,38 +2,13 @@ menu "C compiler" -choice - bool - prompt "C compiler flavour" - default CC_GCC - -config CC_GCC - bool - prompt "gcc" - select CC_SUPPORT_CXX - select CC_SUPPORT_FORTRAN - select CC_SUPPORT_JAVA - select CC_SUPPORT_ADA - select CC_SUPPORT_OBJC - select CC_SUPPORT_OBJCXX - help - gcc is the full-blown GNU compiler. This is what most people will choose. - - gcc supports many languages, a powerful code parser, optimised binary - output, and lots of other features. - -endchoice - -config CC_VERSION +config CC string -config CC +config CC_VERSION string - default "gcc" if CC_GCC -if CC_GCC -source config/cc/gcc.in -endif +source config.gen/cc.in config CC_SUPPORT_CXX bool |