commit:     aa3fd1cd490c0e2ad1088a28d325701c2cebcdf1
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  7 12:19:51 2016 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Feb  7 12:19:51 2016 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=aa3fd1cd

Be stricter with module path for firmware.

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

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

diff --git a/gen_compile.sh b/gen_compile.sh
index 8d8f04a..9b9dc5b 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)..."

Reply via email to