diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-01-06 19:58:12 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-01-06 19:58:12 +0000 |
commit | d4470146f8e793db026ae33b065093364db03f97 (patch) | |
tree | ecd147410a9f45945224a2dbd5125a4f0b17c5f3 /x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild | |
parent | old (diff) | |
download | historical-d4470146f8e793db026ae33b065093364db03f97.tar.gz historical-d4470146f8e793db026ae33b065093364db03f97.tar.bz2 historical-d4470146f8e793db026ae33b065093364db03f97.zip |
old
Package-Manager: portage-2.2.0_alpha13/cvs/Linux x86_64
Diffstat (limited to 'x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild')
-rw-r--r-- | x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild b/x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild deleted file mode 100644 index 364bcd898506..000000000000 --- a/x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/radeon-ucode/radeon-ucode-20100408.ebuild,v 1.3 2010/07/15 09:05:17 fauli Exp $ - -inherit linux-info - -UCODE_BASE_URI="http://people.freedesktop.org/~agd5f/${PN/-/_}" -UCODE_FILES=( - "CEDAR_me.bin" - "CEDAR_pfp.bin" - "CEDAR_rlc.bin" - "CYPRESS_me.bin" - "CYPRESS_pfp.bin" - "CYPRESS_rlc.bin" - "JUNIPER_me.bin" - "JUNIPER_pfp.bin" - "JUNIPER_rlc.bin" - "R600_rlc.bin" - "R700_rlc.bin" - "REDWOOD_me.bin" - "REDWOOD_pfp.bin" - "REDWOOD_rlc.bin" -) - -DESCRIPTION="IRQ microcode for r6xx/r7xx/Evergreen Radeon GPUs" -HOMEPAGE="http://people.freedesktop.org/~agd5f/radeon_ucode/" -SRC_URI="${UCODE_FILES[@]/#/${UCODE_BASE_URI}/}" - -LICENSE="radeon-ucode" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -src_unpack() { :; } - -src_install() { - insinto /lib/firmware/radeon || die "insinto failed" - doins "${UCODE_FILES[@]/#/${DISTDIR}/}" || die "doins failed" -} - -pkg_postinst() { - if linux_config_exists && linux_chkconfig_builtin DRM_RADEON; then - if ! linux_chkconfig_present FIRMWARE_IN_KERNEL || \ - ! [[ "$(linux_chkconfig_string EXTRA_FIRMWARE)" == *_rlc.bin* ]]; then - ewarn "Your kernel has radeon DRM built-in but not the IRQ 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=\"${UCODE_FILES[@]/#/radeon/}\"" - ewarn "You may skip microcode files for which no hardware is installed." - ewarn "More information at http://wiki.x.org/wiki/radeonBuildHowTo" - fi - fi -} |