summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2017-03-11 19:13:29 -0800
committerMatt Turner <mattst88@gentoo.org>2017-03-16 13:36:42 -0700
commitae74760dc61b738cfea8ce3d30154f9f89f711ae (patch)
tree28efa3c4a3444909ebfc93545370fb4bb894a9f8 /sys-firmware
parentmedia-libs/mesa: Drop old versions (diff)
downloadgentoo-ae74760dc61b738cfea8ce3d30154f9f89f711ae.tar.gz
gentoo-ae74760dc61b738cfea8ce3d30154f9f89f711ae.tar.bz2
gentoo-ae74760dc61b738cfea8ce3d30154f9f89f711ae.zip
sys-firmware/amdgpu-ucode: Drop old versions
Diffstat (limited to 'sys-firmware')
-rw-r--r--sys-firmware/amdgpu-ucode/Manifest2
-rw-r--r--sys-firmware/amdgpu-ucode/amdgpu-ucode-20160628.ebuild55
2 files changed, 0 insertions, 57 deletions
diff --git a/sys-firmware/amdgpu-ucode/Manifest b/sys-firmware/amdgpu-ucode/Manifest
index 9b8791e5afae..be99738d05fe 100644
--- a/sys-firmware/amdgpu-ucode/Manifest
+++ b/sys-firmware/amdgpu-ucode/Manifest
@@ -1,3 +1 @@
-DIST amdgpu-ucode-20160628.tar.xz 788428 SHA256 7a864a14bedda9a8c6833076afe7070f7d61b9e6288a71ce4f80ce561ae02bd3 SHA512 7a7a50660b8b9c9d4547fa4fcdfd47cf8b55e258ae1ff5900370be0fd2669d4feeb6565f33704d7ed4a171b05ee1bd6e137d14afff091e170514b1bb4984cc8a WHIRLPOOL 0f48ddecf4ab2d4bd9d6307d2afba5b8844cba41bcbddcbe221c403593bc1f73c2586115880ed44b29abc2e1759309f68214cd651fcf4c5f60d8ca4722bf0fc7
DIST linux-firmware-20170113.tar.xz 40606424 SHA256 dbc63d53ff12bff9ca0bc35ce91436356c2878dce41dc64d0f2b0c25b39e447b SHA512 28b9f4452f7b29d0a641585d792a19fe6eabe3aa9d383934f995c62a6f62db0cb877db16aaac4b2e2b7966f98e0f7b5737e206d0d8cd8a61aa64b2fb5a554749 WHIRLPOOL f63477f35d66c685039a6c85449eaf4416ee0fd32a3a8f5b69a0aa77c1f67759f7a8da05bb49d7cf82a9ac5a52ab44fe75ae6767347c73bb3538e70c3fb79e80
-DIST radeon-ucode-20160628.tar.xz 831920 SHA256 342827150d83e2e986e1673dbddb8bf7c63008ae9525de15dfc2284845594a30 SHA512 7ecad7f3c7c734b04a9bf4d01cd7436298ac397fecc97bc0a27d10d26b2c1ee07e5c8428f4ad75dd15aec297a3e15f6c8cc9c227dbb5b6a58a5d9a541d59340e WHIRLPOOL bd1b672eb34853d2fb4c97baf39413bc648584d287bd46a51ae81aaba43faca5702d04a921c798ee6f0f91f5b98a971882f10bb70499c574af3ccfa94796523b
diff --git a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160628.ebuild b/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160628.ebuild
deleted file mode 100644
index cebcba475910..000000000000
--- a/sys-firmware/amdgpu-ucode/amdgpu-ucode-20160628.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit linux-info
-
-DESCRIPTION="Microcode for C.Islands/V.Islands/A.Islands Radeon GPUs and APUs"
-HOMEPAGE="https://people.freedesktop.org/~agd5f/radeon_ucode/"
-SRC_URI="mirror://gentoo/${P}.tar.xz
- legacy? ( mirror://gentoo/${P/amdgpu/radeon}.tar.xz )"
-
-LICENSE="radeon-ucode"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="legacy"
-
-RDEPEND="legacy? ( !sys-firmware/radeon-ucode )
- !>sys-kernel/linux-firmware-20150812[-savedconfig]"
-
-S=${WORKDIR}/amdgpu
-
-AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins"
-
-src_install() {
- local chip files legacyfiles
- if use legacy; then
- pushd ../radeon || die
- for chip in ${AMDGPU_LEGACY_CIK}; do
- legacyfiles+=( ${chip}*.bin )
- done
- insinto /lib/firmware/radeon
- doins ${legacyfiles[@]}
- popd
- fi
- files=( *.bin )
- insinto /lib/firmware/amdgpu
- doins ${files[@]}
- FILES=( ${files[@]/#/amdgpu/} ${legacyfiles[@]/#/radeon/} )
-}
-
-pkg_postinst() {
- if linux_config_exists && linux_chkconfig_builtin DRM_AMDGPU; then
- if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \
- ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then
- ewarn "Your kernel has amdgpu DRM built-in but not the microcode."
- ewarn "For kernel modesetting to work, please set in kernel config"
- ewarn "CONFIG_FIRMWARE_IN_KERNEL=y"
- ewarn "CONFIG_EXTRA_FIRMWARE_DIR=\"/lib/firmware\""
- ewarn "CONFIG_EXTRA_FIRMWARE=\"${FILES[@]}\""
- ewarn "You may skip microcode files for which no hardware is installed."
- ewarn "More information at https://wiki.gentoo.org/wiki/AMDGPU#Firmware"
- fi
- fi
-}