commit:     1026f3c18f89fb41ea6f7673380ed75eb2a3d20a
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  4 11:31:39 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Aug  4 11:36:11 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=1026f3c1

gen_compile.sh: compile_external_modules(): Export KERNEL_OUTPUTDIR as 
KV_OUT_DIR

Needed for emerge to find kernel config when KERNEL_OUTPUTDIR != KERNEL_DIR.

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gen_compile.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gen_compile.sh b/gen_compile.sh
index 5371ce2..fb77e2b 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -36,6 +36,8 @@ compile_external_modules() {
                return
        fi
 
+       local -x KV_OUT_DIR="${KERNEL_OUTPUTDIR}"
+
        print_info 1 "$(get_indent 1)>> Compiling out-of-tree module(s) ..."
        print_info 3 "COMMAND: ${command}" 1 0 1
 

Reply via email to