summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-firmware')
-rw-r--r--sys-firmware/iwl3160-7260-bt-ucode/Manifest1
-rw-r--r--sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10_p2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-firmware/iwl3160-7260-bt-ucode/Manifest b/sys-firmware/iwl3160-7260-bt-ucode/Manifest
index 4a4d4ae71dbb..da47a7187356 100644
--- a/sys-firmware/iwl3160-7260-bt-ucode/Manifest
+++ b/sys-firmware/iwl3160-7260-bt-ucode/Manifest
@@ -1,2 +1,3 @@
DIST iwl3160-7260-bt-ucode-37.8.10.tgz 21750 SHA256 74be75b38f2280aefcbafb8d5fc1cb6732e47bc7d380a30eb063e690ba9dfa59 SHA512 a0f81382cd7ce9077e8efd75566220a3b2ab0077897ce2d292091f6942b12832819335fe53d007a06797d0f79ef18463282b714e8a148dcc57898313e8f627ba WHIRLPOOL 4e9b2a8fd350eec89f6f32fdf47e95b7faeaea62292a6e3b7b7f73e25bcf6832db81b17259409b37d436faf100184d9881dc6f58633a95eb9a112e3fefba5745
DIST iwl3160-7260-bt-ucode-37.8.10_p1.tgz 51854 SHA256 beff2a842970f987658062cd36b788aca6ebf4c232d8fb38fecb61dba18ecb58 SHA512 84bcaad82db9588d41ab446c2c5ff9c3f323c15b8dc6b627317edafc80c5ac5c0290a8eea9b5cb5ceafa817d398fb957385cddd715787e3abfb598cf3392774c WHIRLPOOL f251925224b67049d4d2bd75f19223dbcaad18ecffd3c903272ba44310789f4c825fdbcd32f3bccbbc0fb0211492c9285cd5a6a4fcb15b7a1d845a223cc933d1
+DIST iwl3160-7260-bt-ucode-37.8.10_p2.tgz 78372 SHA256 2a7ef1afb37e944a7e005f150bb7fc615ff846e189dcf14c0e30217d96158ea3 SHA512 73399fcfd58972b9099cad6014f686f74ed4aedc2278d1389d1e815fb08d2af43f3f6defa70d409ecc0b388fba0710dc8fe26627d3149c79db8e8792576047e5 WHIRLPOOL 18dcb462f3463340c0de7d877dc9b872ba5413dd97fd1e3709a1f0db1d51f6bab526e0a3899464a1d3bc4dd3dcafc485d56555f325eb8e72938808755f7b7bef
diff --git a/sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10_p2.ebuild b/sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10_p2.ebuild
new file mode 100644
index 000000000000..9dc211e14477
--- /dev/null
+++ b/sys-firmware/iwl3160-7260-bt-ucode/iwl3160-7260-bt-ucode-37.8.10_p2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit linux-info
+
+DESCRIPTION="Firmware for Intel (R) Wireless 3160, 7260, 7265 Bluetooth"
+HOMEPAGE="https://wireless.kernel.org/en/users/Drivers/iwlwifi"
+SRC_URI="mirror://gentoo/${P}.tgz"
+
+LICENSE="ipw3945"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="!sys-kernel/linux-firmware[-savedconfig]"
+
+S="${WORKDIR}"
+
+CONFIG_CHECK="~IWLMVM"
+ERROR_IWLMVM="CONFIG_IWLMVM is required to be enabled in /usr/src/linux/.config for the kernel to be able to load the Intel (R) Wireless 3160, 7260, 7265 firmware"
+
+pkg_pretend() {
+ if kernel_is lt 3 10 0; then
+ ewarn "Your kernel version is ${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}."
+ ewarn "This microcode image requires a kernel >= 3.10.0."
+ fi
+}
+
+src_install() {
+ insinto /lib/firmware
+ doins -r "${S}/intel"
+}