diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-09-02 08:50:27 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-09-02 08:50:27 +0000 |
commit | 6f0970321f52833b042ed0d95aa4dc24ca0cc8eb (patch) | |
tree | 27a6e1f1d55734a0954f3c66b1e066c198239c87 /rules/cross-gcc.in | |
parent | bb462b013505dd56b447143c46ecbcf8026736c9 (diff) | |
download | OSELAS.Toolchain-6f0970321f52833b042ed0d95aa4dc24ca0cc8eb.tar.gz OSELAS.Toolchain-6f0970321f52833b042ed0d95aa4dc24ca0cc8eb.tar.xz |
* cross-gcc.in, cross-gcc.make:
include cross-ecj.in,
new language selection
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@7342 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'rules/cross-gcc.in')
-rw-r--r-- | rules/cross-gcc.in | 69 |
1 files changed, 47 insertions, 22 deletions
diff --git a/rules/cross-gcc.in b/rules/cross-gcc.in index 4b8cf22..79c20f8 100644 --- a/rules/cross-gcc.in +++ b/rules/cross-gcc.in @@ -6,54 +6,79 @@ menuconfig CROSS_GCC bool select CROSS_BINUTILS select LIBC_FIRST - select HOST_GMP if CROSS_GCC_43 - select HOST_MPFR if CROSS_GCC_43 + select HOST_GMP if CROSS_GCC_43 + select HOST_MPFR if CROSS_GCC_43 + select CROSS_ECJ if CROSS_GCC_LANG_JAVA + +if CROSS_GCC config CROSS_GCC_VERSION - depends on CROSS_GCC string prompt "gcc version" - default "4.2.3" + default "4.2.4" help Specify the version of gcc here. config CROSS_GCC_43 - depends on CROSS_GCC bool prompt "additional deps for gcc-4.3" help Add new dependencies for gcc-4.3+: "GMP" and "MPFR" - config CROSS_GCC_SERIES - depends on CROSS_GCC string default "series" prompt "gcc patch series file" -config CROSS_GCC_LANG - depends on CROSS_GCC - string - prompt "languages" - default "c,c++" - help - As GCC is a compiler collection, you can enable various languages - within this menu entry. Possible values are: - 'c' for standard C language - 'c++' for C++ language - Delimiter is ',' - config CROSS_GCC_EXTRA_CONFIG - depends on CROSS_GCC string prompt "extra configure options" help Add these extra options to the gcc configure script. +comment "Additional supported languages:" + +config CROSS_GCC_LANG_C + bool + default y + help + As GCC is a compiler collection, you it can support various languages + Select this for standard C support + +config CROSS_GCC_LANG_CXX + bool + prompt "C++" + default y + help + As GCC is a compiler collection, it can support various languages. + Select this for C++ support + +config CROSS_GCC_LANG_FORTRAN + bool + prompt "Fortran" + help + As GCC is a compiler collection, it can support various languages. + Select this for Fortran support + +config CROSS_GCC_LANG_JAVA + bool + prompt "Java" + help + As GCC is a compiler collection, it can support various languages. + Select this for Java support + +source "workspace/rules/cross-ecj.in" + +endif + +### +### --with-newlib +### config CROSS_GCC_EXTRA_CONFIG_LIBC string default "--with-newlib" if LIBC_NEWLIB + ### ### ___cxa_atexit ### @@ -103,5 +128,5 @@ config CROSS_GCC_FIRST bool select CROSS_BINUTILS select LIBC_HEADERS - select HOST_GMP if CROSS_GCC_43 - select HOST_MPFR if CROSS_GCC_43 + select HOST_GMP if CROSS_GCC_43 + select HOST_MPFR if CROSS_GCC_43 |