commit: 778172c34bd532fc3438b9386ed1875e8c4ec671
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 2 07:44:49 2019 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Aug 2 07:44:49 2019 +0000
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=778172c3
gen_compile.sh: compile_modules(): Don't set INSTALL_MOD_STRIP when --no-strip
Kernel Makefile will pass INSTALL_MOD_STRIP value to "strip" command
resulting in errors like
strip: '0': No such file
otherwise.
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
gen_compile.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gen_compile.sh b/gen_compile.sh
index 0cf6114..5371ce2 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -236,7 +236,7 @@ compile_modules() {
local -x INSTALL_MOD_STRIP=1
else
print_info 1 "$(get_indent 1)>> Installing ${KV} modules ..."
- local -x INSTALL_MOD_STRIP=0
+ unset INSTALL_MOD_STRIP
fi
compile_generic "modules_install" kernel