summaryrefslogtreecommitdiffstats
path: root/rules/libc.in
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2003-08-21 14:48:17 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2003-08-21 14:48:17 +0000
commitf7084620604c4ffb420bfb6124028afc5eafc6b0 (patch)
tree7a58511734599a788c0d5c9b4e30bfc0c83686ad /rules/libc.in
parentbb9bc44e008d000602a4d48d364d339f9333ac17 (diff)
downloadptxdist-f7084620604c4ffb420bfb6124028afc5eafc6b0.tar.gz
ptxdist-f7084620604c4ffb420bfb6124028afc5eafc6b0.tar.xz
Put config into separate files. [RSC]
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunk@168 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/libc.in')
-rw-r--r--rules/libc.in104
1 files changed, 104 insertions, 0 deletions
diff --git a/rules/libc.in b/rules/libc.in
new file mode 100644
index 000000000..7d04c8421
--- /dev/null
+++ b/rules/libc.in
@@ -0,0 +1,104 @@
+# menue to chose C library
+
+choice
+ prompt "Which C library do you want to use?"
+ default GLIBC
+
+ config GLIBC
+ bool
+ prompt "GLIBC"
+ depends on !ARCH_NOMMU
+
+ config UCLIBC
+ bool
+ prompt "uClibc"
+endchoice
+
+comment "C Library options"
+
+choice
+ prompt "C-Lib Version"
+ default GLIBC_2_2_5
+
+ config GLIBC_2_2_5
+ bool
+ prompt "2.2.5"
+ depends on GLIBC
+
+ config GLIBC_2_2_4
+ bool
+ prompt "2.2.4"
+ depends on GLIBC
+ depends on ARCH_X86
+
+ config GLIBC_2_2_3
+ bool
+ prompt "2.2.3"
+ depends on GLIBC
+ depends on ARCH_X86
+
+ config UCLIBC_0_9_19
+ bool
+ prompt "0.9.19"
+ depends on UCLIBC
+
+ config UCLIBC_0_9_20
+ bool
+ prompt "0.9.20"
+ depends on UCLIBC
+endchoice
+
+source "rules/glibc.in"
+
+source "config/uClibc/extra/Configs/Config.alpha"
+source "config/uClibc/extra/Configs/Config.arm"
+source "config/uClibc/extra/Configs/Config.cris"
+source "config/uClibc/extra/Configs/Config.h8300"
+source "config/uClibc/extra/Configs/Config.i386"
+source "config/uClibc/extra/Configs/Config.i960"
+source "config/uClibc/extra/Configs/Config.m68k"
+source "config/uClibc/extra/Configs/Config.mips"
+source "config/uClibc/extra/Configs/Config.mipsel"
+source "config/uClibc/extra/Configs/Config.powerpc"
+source "config/uClibc/extra/Configs/Config.sh"
+source "config/uClibc/extra/Configs/Config.sparc"
+source "config/uClibc/extra/Configs/Config.v850"
+
+comment "Install options"
+ depends on UCLIBC
+
+config UCLIBC_CRYPT
+ bool
+ prompt "Install libcrypt on the target"
+ depends on UCLIBC
+
+config UCLIBC_DL
+ bool
+ prompt "Install libdl on the target"
+ depends on UCLIBC
+
+config UCLIBC_M
+ bool
+ prompt "Install libm on the target"
+ depends on UCLIBC
+
+config UCLIBC_NSL
+ bool
+ prompt "Install libnsl on the target"
+ depends on UCLIBC
+
+config UCLIBC_PTHREAD
+ bool
+ prompt "Install libpthread on the target"
+ depends on UCLIBC
+
+config UCLIBC_RESOLV
+ bool
+ prompt "Install libresolv on the target"
+ depends on UCLIBC
+
+config UCLIBC_UTIL
+ bool
+ prompt "Install libutil on the target"
+ depends on UCLIBC
+