diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-13 14:59:38 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-09-13 14:59:38 +0000 |
commit | ba1315d0fbe7fa43aa7481b5d6e92bd03b0152d5 (patch) | |
tree | b5b295f5382bd71c6184539feabf0ba061897131 /modutils/Kbuild | |
parent | 4f3209b9d4b24ebe9b76e3bfe8ddd87af5228af9 (diff) | |
download | busybox-w32-ba1315d0fbe7fa43aa7481b5d6e92bd03b0152d5.tar.gz busybox-w32-ba1315d0fbe7fa43aa7481b5d6e92bd03b0152d5.tar.bz2 busybox-w32-ba1315d0fbe7fa43aa7481b5d6e92bd03b0152d5.zip |
modutils/*: rewrite by Timo Teras <timo.teras AT iki.fi>
- a lot faster (linear algorithmic complexity, smaller memory foot print)
- a lot smaller (the old code was overly complicated)
- loading of aliases is now module-init-tools compliant
- blacklisting is done correctly (-b option added)
- module argument quoting done right
- depmod now correctly generates modules.symbols and modules.alias
add/remove: 16/21 grow/shrink: 4/6 up/down: 6930/-9316 Total: -2386 bytes
text data bss dec hex filename
806039 592 6680 813311 c68ff busybox_old
803498 592 6676 810766 c5f0e busybox_unstripped
Diffstat (limited to 'modutils/Kbuild')
-rw-r--r-- | modutils/Kbuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/modutils/Kbuild b/modutils/Kbuild index 828070114..31f7cbf93 100644 --- a/modutils/Kbuild +++ b/modutils/Kbuild | |||
@@ -5,9 +5,10 @@ | |||
5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. | 5 | # Licensed under the GPL v2, see the file LICENSE in this tarball. |
6 | 6 | ||
7 | lib-y:= | 7 | lib-y:= |
8 | lib-$(CONFIG_DEPMOD) += depmod.o | 8 | lib-$(CONFIG_MODPROBE_SMALL) += modprobe-small.o |
9 | lib-$(CONFIG_INSMOD) += insmod.o | 9 | lib-$(CONFIG_DEPMOD) += depmod.o modutils.o |
10 | lib-$(CONFIG_LSMOD) += lsmod.o | 10 | lib-$(CONFIG_INSMOD) += insmod.o modutils.o |
11 | lib-$(CONFIG_MODPROBE) += modprobe.o | 11 | lib-$(CONFIG_LSMOD) += lsmod.o modutils.o |
12 | lib-$(CONFIG_MODPROBE_SMALL) += modprobe-small.o | 12 | lib-$(CONFIG_MODPROBE) += modprobe.o modutils.o |
13 | lib-$(CONFIG_RMMOD) += rmmod.o | 13 | lib-$(CONFIG_RMMOD) += rmmod.o modutils.o |
14 | lib-$(CONFIG_FEATURE_2_4_MODULES) += modutils-24.o | ||