On Sat, 27 Aug 2016, Michael Conrad wrote: > On 8/27/2016 2:18 AM, Cristian Ionescu-Idbohrn wrote: > > On Sat, 27 Aug 2016, Denys Vlasenko wrote: > > > config BUSYBOX > > > bool "Include busybox applet" > > > default y > > > help > > > The busybox applet provides general help regarding busybox and > > > allows the included applets to be listed. It's also required > > > if applet links are to be installed at runtime. > > > > > > If you can live without these features disabling this will save > > > some space. > > And this is also expected: > > > > $ ./busybox > > busybox: applet not found > > > > when executed immediately after build? And this too? > > > > $ ./busybox --help > > -help: applet not found > > > > $ ./busybox --list > > -list: applet not found > > Yes, adding or removing those behaviors is precisely the purpose of > the CONFIG_BUSYBOX setting.
Is it? I didn't realize that and I still don't :( > Maybe you should explain your situation and what you expected? > because a person reading your subject line would assume you are > trying to say "I compiled busybox without the CONFIG_BUSYBOX flag, > and now I'm surprised that it did what it said it would do"... Alright. My bad. I'll go back and read the ML... So, I went back and re-read the "Make busybox an applet" threads where "turn off help and list of applets" is mentioned. On Tue, 31 May 2016, Ron Yorston wrote: | | This doesn't make busybox an applet, it just makes it possible to turn | off help and list of applets. | | I'm not really interested in that: I wanted busybox to be an actual | applet to avoid having to treat it as a special case in standalone | shell mode. | | If busybox is a real applet there's no need for FEATURE_SHARED_BUSYBOX | because FEATURE_INDIVIDUAL will make a busybox binary along with those | for all the other applets. And my understandig now is that if CONFIG_BUSYBOX=y, the '--help', '--list' and '--list-full' options are removed, and at the same time adds about 900 bytes to the binary. I may be thick, but what I still don't understand is what benefits does that bring? Cheers, -- Cristian _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
