1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 MY_P="iwlwifi-${P#iwl}"
10 DESCRIPTION="Firmware for Intel (R) Wireless 8260 and 4165"
11 HOMEPAGE="https://wireless.kernel.org/en/users/Drivers/iwlwifi"
12 SRC_URI="https://wireless.wiki.kernel.org/_media/en/users/drivers/${MY_P}.tgz"
16 KEYWORDS="~amd64 ~x86"
20 !sys-kernel/linux-firmware[-savedconfig]
23 CONFIG_CHECK="~IWLMVM"
24 ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the ${DEV_N} firmware"
26 S="${WORKDIR}/${MY_P}"
29 if kernel_is lt 4 3 0; then
30 eerror "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}."
31 eerror "This microcode image requires a kernel >= 4.3.0."
37 doins iwlwifi-8000C-16.ucode