summaryrefslogtreecommitdiff
path: root/sys-kernel/genkernel-next/files/genkernel-next-dont-install-firmware-due-to-linux-firmware.patch
blob: 83a0bde5722eb32e6e8e94f415fd8966a48de165 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -Nur a/gen_compile.sh b/gen_compile.sh
--- a/gen_compile.sh	2015-02-16 10:03:04.000000000 +0000
+++ b/gen_compile.sh	2015-06-12 23:34:12.536580015 +0100
@@ -293,10 +293,7 @@
     local firmware_in_kernel_line=`fgrep CONFIG_FIRMWARE_IN_KERNEL "${KERNEL_OUTPUTDIR}"/.config`
     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..."
-        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)..."
+        print_info 1 "        >> Not installing firmware due to CONFIG_FIRMWARE_IN_KERNEL != y...Make sure you have linux-firmware package installed"
     fi
 
     local tmp_kernel_binary=$(find_kernel_binary ${KERNEL_BINARY_OVERRIDE:-${KERNEL_BINARY}})