aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2019-08-04 13:31:39 +0200
committerThomas Deutschmann <whissi@gentoo.org>2019-08-04 13:36:11 +0200
commit1026f3c18f89fb41ea6f7673380ed75eb2a3d20a (patch)
tree86f8421789dc78bd07e99e6a739b7aecbe74819f /gen_compile.sh
parentgen_determineargs.sh: determine_output_filenames(): Allow "+" char in filename (diff)
downloadgenkernel-1026f3c18f89fb41ea6f7673380ed75eb2a3d20a.tar.gz
genkernel-1026f3c18f89fb41ea6f7673380ed75eb2a3d20a.tar.bz2
genkernel-1026f3c18f89fb41ea6f7673380ed75eb2a3d20a.zip
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@gentoo.org>
Diffstat (limited to 'gen_compile.sh')
-rwxr-xr-xgen_compile.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/gen_compile.sh b/gen_compile.sh
index 5371ce27..fb77e2bb 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