aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/genkernel.8.txt4
-rwxr-xr-xgen_compile.sh7
2 files changed, 1 insertions, 10 deletions
diff --git a/doc/genkernel.8.txt b/doc/genkernel.8.txt
index a5c0b922..3a1ae582 100644
--- a/doc/genkernel.8.txt
+++ b/doc/genkernel.8.txt
@@ -198,9 +198,7 @@ specified.
*--*[*no-*]*module-rebuild*::
Runs, or does not run "emerge --ignore-default-opts --buildpkg=n --usepkg=n --quiet-build=y @module-rebuild"
to build out-of-tree modules when possible, i.e. when non-static
- kernel and modules will be build, installed,
- *--kernel-modules-prefix* is not set, '/var/lib/module-rebuild/moduledb' exists
- and is not empty.
+ kernel and modules will be build, installed, *--kernel-modules-prefix* is not set.
NOTE: Command can be customized using '--module-rebuild-cmd' command-line
argument or 'MODULEREBUILD_CMD' in '/etc/genkernel.conf'.
diff --git a/gen_compile.sh b/gen_compile.sh
index 9af128b9..6db69ece 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -27,13 +27,6 @@ compile_external_modules() {
return
fi
- local modulesdb_file="/var/lib/module-rebuild/moduledb"
- if [ ! -s "${modulesdb_file}" ]
- then
- print_info 2 "$(get_indent 1)>> '${modulesdb_file}' does not exist or is empty; Skipping '${MODULEREBUILD_CMD}' ..."
- return
- fi
-
local -x KV_OUT_DIR="${KERNEL_OUTPUTDIR}"
print_info 1 "$(get_indent 1)>> Compiling out-of-tree module(s) ..."