Busybox, compile one applet only

It might be handy to compile busybox with only one applet, or a very minimal set of applets to minimise the binary size. This could be achieved by running “make menuconfig” and selecting / deselecting what is or is not wished, but if all you want is one or two applets, as so much is preselected by default, this is very tedious to do.

It would be great if there was a way to start clean, on a config file where nothing is preselected.

Well the way to that is to run:

make allnoconfig

Then run:

make menuconfig

and choose what you want. After the usual:

make -j 4

if you run the busybox binary, you will see listed only the applets you selected. If you selected only one applet though, it will be launched directly.