summaryrefslogtreecommitdiffstats
path: root/rules/libkmod.in
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-01-21 11:16:47 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-01-21 17:31:21 +0100
commit42599282182473249e9803a784ae66b4c54071d6 (patch)
tree18716c5472925e87569ba3f381f2ffefa4273244 /rules/libkmod.in
parent4832941f5c7b8ca99b66702156287577deb4c472 (diff)
downloadptxdist-42599282182473249e9803a784ae66b4c54071d6.tar.gz
ptxdist-42599282182473249e9803a784ae66b4c54071d6.tar.xz
libkmod: provide modprobe, etc. tools
Also fix module-init-tools to avoid conflicts. kmod is the future, so it has priority over module-init-tools. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libkmod.in')
-rw-r--r--rules/libkmod.in65
1 files changed, 62 insertions, 3 deletions
diff --git a/rules/libkmod.in b/rules/libkmod.in
index eccc6292c..4d5a9d8ff 100644
--- a/rules/libkmod.in
+++ b/rules/libkmod.in
@@ -13,10 +13,69 @@ if LIBKMOD
config LIBKMOD_TOOLS
bool
- prompt "install tools"
+
+config LIBKMOD_INSMOD
+ bool
+ prompt "Install insmod"
+ depends on !BUSYBOX_INSMOD || ALLYES
+ select LIBKMOD_TOOLS
+ help
+ simple program to insert a module into the Linux Kernel
+
+comment "BusyBox' insmod is selected!"
+ depends on BUSYBOX_INSMOD
+
+config LIBKMOD_RMMOD
+ bool
+ prompt "Install rmmod"
+ depends on !BUSYBOX_RMMOD || ALLYES
+ select LIBKMOD_TOOLS
+ help
+ simple program to remove a module from the Linux Kernel
+
+comment "BusyBox' rmmod is selected!"
+ depends on BUSYBOX_RMMOD
+
+config LIBKMOD_LSMOD
+ bool
+ prompt "Install lsmod"
+ depends on !BUSYBOX_LSMOD || ALLYES
+ select LIBKMOD_TOOLS
+ help
+ program to show the status of modules in the Linux Kernel
+
+comment "BusyBox' lsmod is selected!"
+ depends on BUSYBOX_LSMOD
+
+config LIBKMOD_MODINFO
+ bool
+ prompt "Install modinfo"
+ depends on !BUSYBOX_MODINFO || ALLYES
+ select LIBKMOD_TOOLS
+ help
+ program to show information about a Linux Kernel module
+
+comment "BusyBox' modinfo is selected!"
+ depends on BUSYBOX_MODINFO
+
+config LIBKMOD_MODPROBE
+ bool
+ prompt "Install modprobe"
+ depends on !BUSYBOX_MODPROBE || ALLYES
+ select LIBKMOD_TOOLS
+ help
+ program to add and remove modules from the Linux Kernel
+
+comment "BusyBox' modprobe is selected!"
+ depends on BUSYBOX_MODPROBE
+
+config LIBKMOD_DEPMOD
+ bool
+ prompt "Install depmod"
+ depends on !BUSYBOX_DEPMOD || ALLYES
+ select LIBKMOD_TOOLS
help
- Install tool frontends that provide same functionality as the
- module-init-tools
+ program to generate modules.dep and map files
config LIBKMOD_ZLIB
bool