aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-02-07 04:19:51 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2016-02-07 04:19:51 -0800
commitaa3fd1cd490c0e2ad1088a28d325701c2cebcdf1 (patch)
tree1a16b6fa426f682f48845602379aa0fef16f13e9 /gen_compile.sh
parentgen_configkernel: fix missing ||. (diff)
downloadgenkernel-aa3fd1cd490c0e2ad1088a28d325701c2cebcdf1.tar.gz
genkernel-aa3fd1cd490c0e2ad1088a28d325701c2cebcdf1.tar.bz2
genkernel-aa3fd1cd490c0e2ad1088a28d325701c2cebcdf1.zip
Be stricter with module path for firmware.
Signed-off-by: Robin H. Johnson <robbat2@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 8d8f04ae..9b9dc5b4 100755
--- a/gen_compile.sh
+++ b/gen_compile.sh
@@ -338,6 +338,8 @@ compile_kernel() {
if [ -n "${firmware_in_kernel_line}" -a "${firmware_in_kernel_line}" != CONFIG_FIRMWARE_IN_KERNEL=y ]
then
print_info 1 " >> Installing firmware ('make firmware_install') due to CONFIG_FIRMWARE_IN_KERNEL != y..."
+ [ "${INSTALL_MOD_PATH}" != '' ] && export INSTALL_MOD_PATH
+ [ "${INSTALL_FW_PATH}" != '' ] && export INSTALL_FW_PATH
MAKEOPTS="${MAKEOPTS} -j1" compile_generic "firmware_install" kernel
else
print_info 1 " >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)..."