[RFC] modprobe-small: optimizations for single applet build

Kang-Che Sung explorer09 at gmail.com
Mon Jan 9 12:18:51 UTC 2017


On Mon, Jan 9, 2017 at 4:49 PM, Denys Vlasenko <vda.linux at googlemail.com> wrote:
> CONFIG_MODPROBE_SMALL=y
> CONFIG_DEPMOD=y
> # CONFIG_INSMOD is not set
> CONFIG_LSMOD=y
> # CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT is not set
> CONFIG_MODINFO=y
> # CONFIG_MODPROBE is not set
> # CONFIG_FEATURE_MODPROBE_BLACKLIST is not set
> # CONFIG_FEATURE_MODPROBE_SMALL_OPTIONS_ON_CMDLINE is not set
> CONFIG_FEATURE_MODPROBE_SMALL_CHECK_ALREADY_LOADED=y
> # CONFIG_RMMOD is not set
>
> error: unused variable 'exitcode'
>
> modutils/modprobe-small.c: In function 'modprobe_main':
> modutils/modprobe-small.c:1060: error: control reaches end of non-void function
>
Acknowledged. But I thought it was only a warning...
(The make_single_applets.sh didn't show compiler's or make's stderr to the
screen, and so I didn't notice. By the way, would make_single_applets.sh try to
do this trick? https://stackoverflow.com/questions/2871233/)

And great job on making another optimization with depmod and lsmod two-applet
configuration.


More information about the busybox mailing list