summaryrefslogtreecommitdiff
path: root/config/libc/glibc-eglibc-common.in
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-26 16:47:47 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-08-26 16:47:47 (GMT)
commitb3f5a8708079850e989a77b2c0173ccdd7624ca9 (patch)
tree2bee87872f3b0499a2621ba96fd05fb138e82c40 /config/libc/glibc-eglibc-common.in
parent9dd85f517a15f6bb9e575fd614591647747deff4 (diff)
Commonalise options common to both glibc and eglibc.
/trunk/scripts/build/libc_eglibc.sh | 6 3 3 0 +- /trunk/config/libc/glibc.in | 63 2 61 0 +--------------------------------- /trunk/config/libc/eglibc.in | 61 1 60 0 +-------------------------------- /trunk/config/libc/eglibc-glibc-common.in | 1 1 0 0 + /trunk/config/libc/glibc-eglibc-common.in | 69 69 0 0 +++++++++++++++++++++++++++++++++++++ 5 files changed, 76 insertions(+), 124 deletions(-)
Diffstat (limited to 'config/libc/glibc-eglibc-common.in')
-rw-r--r--config/libc/glibc-eglibc-common.in69
1 files changed, 69 insertions, 0 deletions
diff --git a/config/libc/glibc-eglibc-common.in b/config/libc/glibc-eglibc-common.in
new file mode 100644
index 0000000..cba9715
--- /dev/null
+++ b/config/libc/glibc-eglibc-common.in
@@ -0,0 +1,69 @@
+# This file contains the common configuration options
+# that apply to both glibc and eglibc.
+#
+# Please note:
+# the symlink is a hack around the fact that mconf can not parse
+# the same file more than once, and errors out if it is the case.
+# If mconf is updated to accept multiple inclusion of the same
+# file, then the symlink can go (and the includers be updated).
+
+config LIBC_GLIBC_EXTRA_CONFIG
+ string
+ prompt "extra config"
+ default ""
+ help
+ Extra flags to pass onto ./configure when configuring.
+
+ Eg.: --enable-static-nss
+
+config LIBC_GLIBC_EXTRA_CFLAGS
+ string
+ prompt "extra target CFLAGS"
+ default ""
+ help
+ Extra target CFLAGS to use when building.
+
+config LIBC_EXTRA_CC_ARGS
+ string
+ prompt "gcc extra flags"
+ default ""
+ help
+ Extra flags to pass gcc when building.
+
+ Seldom used, except for sparc64 which seems to need the flag -64
+ to be passed onto gcc.
+
+config LIBC_GLIBC_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 distribution.
+
+ For example, this is the case for ARM with for 2.4 and above.
+
+ Say n only if you're sure that your architecture is in the official
+ 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. 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 libces)