From 42599282182473249e9803a784ae66b4c54071d6 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Sat, 21 Jan 2012 11:16:47 +0100 Subject: 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 --- rules/libkmod.in | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 62 insertions(+), 3 deletions(-) (limited to 'rules/libkmod.in') 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 -- cgit v1.2.3