summaryrefslogtreecommitdiffstats
path: root/rules/libc.in
blob: 8ad5ef95e95fede1b9ccfb833712e6596c006aff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
## SECTION=core

menuconfig LIBC
	tristate
	prompt "c library                     "
	default y

if LIBC

choice
	prompt "c library            "
	default GLIBC

	config GLIBC
		bool
		prompt "glibc "
		help
		  This menu entry lets you select components from the standard
		  C library called glibc. It depends on the system what components are
		  required.

	config UCLIBC
		bool
		prompt "uClibc"
endchoice

if GLIBC
source "generated/libc_glibc.in"
endif

if UCLIBC
source "generated/libc_uclibc.in"
endif


config LIBC_C
	bool
	select GLIBC_C			if GLIBC
	select UCLIBC_C			if UCLIBC

config LIBC_PTHREAD
	bool
	select GLIBC_PTHREAD		if GLIBC
	select UCLIBC_PTHREAD		if UCLIBC

config LIBC_THREAD_DB
	bool
	select GLIBC_THREAD_DB		if GLIBC
	select UCLIBC_THREAD_DB		if UCLIBC

config LIBC_RT
	bool
	select GLIBC_RT			if GLIBC
	select UCLIBC_RT		if UCLIBC

config LIBC_DL
	bool
	select GLIBC_DL			if GLIBC
	select UCLIBC_DL		if UCLIBC

config LIBC_CRYPT
	bool
	select GLIBC_CRYPT		if GLIBC
	select UCLIBC_CRYPT		if UCLIBC

config LIBC_UTIL
	bool
	select GLIBC_UTIL		if GLIBC
	select UCLIBC_UTIL		if UCLIBC

config LIBC_M
	bool
	select GLIBC_M			if GLIBC
	select UCLIBC_M			if UCLIBC

config LIBC_NSS_DNS
	bool
	select GLIBC_NSS_DNS		if GLIBC

config LIBC_NSS_FILES
	bool
	select GLIBC_NSS_FILES		if GLIBC

config LIBC_NSS_HESIOD
	bool
	select GLIBC_NSS_HESIOD		if GLIBC

config LIBC_NSS_NIS
	bool
	select GLIBC_NSS_NIS		if GLIBC

config LIBC_NSS_NISPLUS
	bool
	select GLIBC_NSS_NISPLUS	if GLIBC

config LIBC_NSS_COMPAT
	bool
	select GLIBC_NSS_COMPAT		if GLIBC


config LIBC_RESOLV
	bool
	select GLIBC_RESOLV		if GLIBC
	select UCLIBC_RESOLV		if UCLIBC

config LIBC_NSL
	bool
	select GLIBC_NSL		if GLIBC
	select UCLIBC_NSL		if UCLIBC

endif