aboutsummaryrefslogtreecommitdiff
path: root/include/bb_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bb_config.h')
-rw-r--r--include/bb_config.h142
1 files changed, 142 insertions, 0 deletions
diff --git a/include/bb_config.h b/include/bb_config.h
new file mode 100644
index 000000000..beec07cba
--- /dev/null
+++ b/include/bb_config.h
@@ -0,0 +1,142 @@
1/* Hack. kbuild will not define needed macros for config symbols
2 * which depend on other symbols, which themself are off.
3 * Provide them here by hand. Need a better idea. */
4
5#ifndef ENABLE_KILLALL5
6#define ENABLE_KILLALL5 0
7#define USE_KILLALL5(...)
8#define SKIP_KILLALL5(...) __VA_ARGS__
9#endif
10
11#ifndef ENABLE_FEATURE_QUERY_MODULE_INTERFACE
12#define ENABLE_FEATURE_QUERY_MODULE_INTERFACE 0
13#define USE_FEATURE_QUERY_MODULE_INTERFACE(...)
14#define SKIP_FEATURE_QUERY_MODULE_INTERFACE(...) __VA_ARGS__
15#endif
16
17#ifndef ENABLE_FEATURE_CLEAN_UP
18#define ENABLE_FEATURE_CLEAN_UP 0
19#define USE_FEATURE_CLEAN_UP(...)
20#define SKIP_FEATURE_CLEAN_UP(...) __VA_ARGS__
21#endif
22
23#ifndef ENABLE_FEATURE_SH_STANDALONE_SHELL
24#define ENABLE_FEATURE_SH_STANDALONE_SHELL 0
25#define USE_FEATURE_SH_STANDALONE_SHELL(...)
26#define SKIP_FEATURE_SH_STANDALONE_SHELL(...) __VA_ARGS__
27#endif
28
29#ifndef ENABLE_FEATURE_MTAB_SUPPORT
30#define ENABLE_FEATURE_MTAB_SUPPORT 0
31#define USE_FEATURE_MTAB_SUPPORT(...)
32#define SKIP_FEATURE_MTAB_SUPPORT(...) __VA_ARGS__
33#endif
34
35#ifndef ENABLE_FEATURE_PRESERVE_HARDLINKS
36#define ENABLE_FEATURE_PRESERVE_HARDLINKS 0
37#define USE_FEATURE_PRESERVE_HARDLINKS(...)
38#define SKIP_FEATURE_PRESERVE_HARDLINKS(...) __VA_ARGS__
39#endif
40
41#ifndef ENABLE_FEATURE_AUTOWIDTH
42#define ENABLE_FEATURE_AUTOWIDTH 0
43#define USE_FEATURE_AUTOWIDTH(...)
44#define SKIP_FEATURE_AUTOWIDTH(...) __VA_ARGS__
45#endif
46
47#ifndef ENABLE_FEATURE_SUID_CONFIG
48#define ENABLE_FEATURE_SUID_CONFIG 0
49#define USE_FEATURE_SUID_CONFIG(...)
50#define SKIP_FEATURE_SUID_CONFIG(...) __VA_ARGS__
51#endif
52
53#ifndef ENABLE_APP_DUMPLEASES
54#define ENABLE_APP_DUMPLEASES 0
55#define USE_APP_DUMPLEASES(...)
56#define SKIP_APP_DUMPLEASES(...) __VA_ARGS__
57#endif
58
59#ifndef ENABLE_E2LABEL
60#define ENABLE_E2LABEL 0
61#define USE_E2LABEL(...)
62#define SKIP_E2LABEL(...) __VA_ARGS__
63#endif
64
65#ifndef ENABLE_FEATURE_GREP_EGREP_ALIAS
66#define ENABLE_FEATURE_GREP_EGREP_ALIAS 0
67#define USE_FEATURE_GREP_EGREP_ALIAS(...)
68#define SKIP_FEATURE_GREP_EGREP_ALIAS(...) __VA_ARGS__
69#endif
70
71#ifndef ENABLE_FEATURE_GREP_FGREP_ALIAS
72#define ENABLE_FEATURE_GREP_FGREP_ALIAS 0
73#define USE_FEATURE_GREP_FGREP_ALIAS(...)
74#define SKIP_FEATURE_GREP_FGREP_ALIAS(...) __VA_ARGS__
75#endif
76
77#ifndef ENABLE_FINDFS
78#define ENABLE_FINDFS 0
79#define USE_FINDFS(...)
80#define SKIP_FINDFS(...) __VA_ARGS__
81#endif
82
83#ifndef ENABLE_IPADDR
84#define ENABLE_IPADDR 0
85#define USE_IPADDR(...)
86#define SKIP_IPADDR(...) __VA_ARGS__
87#endif
88
89#ifndef ENABLE_IPLINK
90#define ENABLE_IPLINK 0
91#define USE_IPLINK(...)
92#define SKIP_IPLINK(...) __VA_ARGS__
93#endif
94
95#ifndef ENABLE_IPROUTE
96
97#define ENABLE_IPROUTE 0
98#define USE_IPROUTE(...)
99#define SKIP_IPROUTE(...) __VA_ARGS__
100#endif
101
102#ifndef ENABLE_IPTUNNEL
103#define ENABLE_IPTUNNEL 0
104#define USE_IPTUNNEL(...)
105#define SKIP_IPTUNNEL(...) __VA_ARGS__
106#endif
107
108#ifndef ENABLE_KILLALL
109#define ENABLE_KILLALL 0
110#define USE_KILLALL(...)
111#define SKIP_KILLALL(...) __VA_ARGS__
112#endif
113
114#ifndef ENABLE_KLOGD
115#define ENABLE_KLOGD 0
116#define USE_KLOGD(...)
117#define SKIP_KLOGD(...) __VA_ARGS__
118#endif
119
120#ifndef ENABLE_FEATURE_INITRD
121#define ENABLE_FEATURE_INITRD 0
122#define USE_FEATURE_INITRD(...)
123#define SKIP_FEATURE_INITRD(...) __VA_ARGS__
124#endif
125
126#ifndef ENABLE_LOGREAD
127#define ENABLE_LOGREAD 0
128#define USE_LOGREAD(...)
129#define SKIP_LOGREAD(...) __VA_ARGS__
130#endif
131
132#ifndef ENABLE_PING6
133#define ENABLE_PING6 0
134#define USE_PING6(...)
135#define SKIP_PING6(...) __VA_ARGS__
136#endif
137
138#ifndef ENABLE_UNIX2DOS
139#define ENABLE_UNIX2DOS 0
140#define USE_UNIX2DOS(...)
141#define SKIP_UNIX2DOS(...) __VA_ARGS__
142#endif