diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-08-11 12:22:47 +0000 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-08-11 12:22:47 +0000 |
commit | 59ef10f5d6419ff759ed58cf1f352205784e6eab (patch) | |
tree | f64f9a149e7726ac935c58acfb31d37dd33aab54 /config/libc/eglibc.in | |
parent | 57755ca74b11a2f23cd6c2fd8eef74a07b650a01 (diff) | |
download | crosstool-ng-59ef10f5d6419ff759ed58cf1f352205784e6eab.tar.gz crosstool-ng-59ef10f5d6419ff759ed58cf1f352205784e6eab.tar.bz2 crosstool-ng-59ef10f5d6419ff759ed58cf1f352205784e6eab.zip |
Merge the branches/eglibc stuff:
- Add support for eglibc
/trunk/scripts/functions | 6 4 2 0 ++++--
/trunk/docs/CREDITS | 1 1 0 0 +
/trunk/config/libc.in | 12 12 0 0 ++++++++++++
/trunk/arch/arm/functions | 4 2 2 0 ++--
4 files changed, 19 insertions(+), 4 deletions(-)
Diffstat (limited to 'config/libc/eglibc.in')
-rw-r--r-- | config/libc/eglibc.in | 131 |
1 files changed, 131 insertions, 0 deletions
diff --git a/config/libc/eglibc.in b/config/libc/eglibc.in new file mode 100644 index 00000000..ea93410f --- /dev/null +++ b/config/libc/eglibc.in @@ -0,0 +1,131 @@ +# eglibc options + +choice + bool + prompt "eglibc version" + +config EGLIBC_V_TRUNK + bool + prompt "'trunk'" + help + Selecting this will export the trunk of the eglibc subversion repository. + +config EGLIBC_V_2_5 + bool + prompt "2.5" + +config EGLIBC_V_2_6 + bool + prompt "2.6" + +config EGLIBC_V_2_7 + bool + prompt "2.7" + +config EGLIBC_V_2_8 + bool + prompt "2.8" + +# CT_INSERT_VERSION_ABOVE +# Don't remove above line! +endchoice + +config LIBC_VERSION + string + default "trunk" if EGLIBC_V_TRUNK + default "2_5" if EGLIBC_V_2_5 + default "2_6" if EGLIBC_V_2_6 + default "2_7" if EGLIBC_V_2_7 + default "2_8" if EGLIBC_V_2_8 +# CT_INSERT_VERSION_STRING_ABOVE +# Don't remove above line! + +config EGLIBC_REVISION + string + prompt "Revision to use" + default "HEAD" + help + Enter the revision of trunk you want to use. + Default is HEAD. + + A revision argument can be one of: + NUMBER revision number + '{' DATE '}' revision at start of the date (*) + 'HEAD' latest in repository + + (*) If you want to use a date, please use ISO-8601 formats if + at all possible. + +config EGLIBC_CHECKOUT + bool + prompt "checkout instead of export" + default y if EGLIBC_V_TRUNK + default n if ! EGLIBC_V_TRUNK + help + By default, the eglibc download will be an export of the subversion + repository. If you say 'y' here, then the repository will instead be + checked-out, so that you can update it later. + + Note that crosstool-NG will *not* update your working copy, you will + have to do that yourself. + +config LIBC_EGLIBC_EXTRA_CONFIG + string + prompt "eglibc extra config" + default "" + help + Extra flags to pass onto ./configure when configuring eglibc. + + Eg.: --enable-static-nss + +config LIBC_EGLIBC_EXTRA_CFLAGS + string + prompt "eglibc extra target CFLAGS" + default "" + help + Extra target CFLAGS to use when building eglibc. + +config LIBC_EXTRA_CC_ARGS + string + prompt "gcc extra flags" + default "" + help + Extra flags to pass gcc when building eglibc. + + Seldom used, except for sparc64 which seems to need the flag -64 + to be passed onto gcc. + +config LIBC_EGLIBC_USE_PORTS + bool + prompt "Use the ports addon" + default n + help + The ports addon contains some architecture ports that are not available + in the official glibc distribution. + + For example, this is the case for ARM with glibc >= 2.4 + + Say n only if you're sure that your architecture is in the official + glibc distribution for your chosen version. + +config LIBC_ADDONS + bool + prompt "Pass extra addons list" + default n + help + If you say Y here, you'll be able to give the list of addons you want to + include in your C library. + +config LIBC_ADDONS_LIST + string + prompt "Extra addons" + default "" + depends on LIBC_ADDONS + help + Extra addons to include in eglibc. Space separated list. + + You need to specify neither linuxthreads nor nptl, as they are added + automagically for you depending on the threading model you choosed + earlier. + + Eg.: crypt (for very old glibces) |