aboutsummaryrefslogtreecommitdiff
path: root/applets/applet_tables.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-07-22 18:48:38 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-07-22 18:48:38 +0200
commit0fb0045aa9261be1dda49dfdfb95cbc585402a8b (patch)
tree951e3f34078b2a2e5702672472dc7ba3b1e51926 /applets/applet_tables.c
parent49117b48008e0fe36d6680c787045cb44a300f93 (diff)
downloadbusybox-w32-0fb0045aa9261be1dda49dfdfb95cbc585402a8b.tar.gz
busybox-w32-0fb0045aa9261be1dda49dfdfb95cbc585402a8b.tar.bz2
busybox-w32-0fb0045aa9261be1dda49dfdfb95cbc585402a8b.zip
config: disentangle PREFER_APPLETS from SH_STANDALONE and SH_NOFORK
On user request. I thought enabling/disabling them all together is more consistent. Evidently, some people do want them to be separately selectable. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'applets/applet_tables.c')
-rw-r--r--applets/applet_tables.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/applets/applet_tables.c b/applets/applet_tables.c
index 843f2ec08..8401a1549 100644
--- a/applets/applet_tables.c
+++ b/applets/applet_tables.c
@@ -143,7 +143,9 @@ int main(int argc, char **argv)
143 printf("};\n"); 143 printf("};\n");
144 printf("#endif\n\n"); 144 printf("#endif\n\n");
145 145
146#if ENABLE_FEATURE_PREFER_APPLETS 146#if ENABLE_FEATURE_PREFER_APPLETS \
147 || ENABLE_FEATURE_SH_STANDALONE \
148 || ENABLE_FEATURE_SH_NOFORK
147 printf("const uint8_t applet_flags[] ALIGN1 = {\n"); 149 printf("const uint8_t applet_flags[] ALIGN1 = {\n");
148 i = 0; 150 i = 0;
149 while (i < NUM_APPLETS) { 151 while (i < NUM_APPLETS) {