diff options
Diffstat (limited to 'x11-drivers/pvr-omap4-kernel/pvr-omap4-kernel-1.7.5.0.ebuild')
-rw-r--r-- | x11-drivers/pvr-omap4-kernel/pvr-omap4-kernel-1.7.5.0.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/x11-drivers/pvr-omap4-kernel/pvr-omap4-kernel-1.7.5.0.ebuild b/x11-drivers/pvr-omap4-kernel/pvr-omap4-kernel-1.7.5.0.ebuild new file mode 100644 index 0000000..006e618 --- /dev/null +++ b/x11-drivers/pvr-omap4-kernel/pvr-omap4-kernel-1.7.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/zd1211-firmware/zd1211-firmware-1.4.ebuild,v 1.2 2007/11/03 12:03:19 dsd Exp $ + +EAPI="3" + +inherit eutils linux-mod + +DESCRIPTION="PowerVR SGX540 kernel driver for OMAP4" + +HOMEPAGE="" +SRC_URI="https://launchpad.net/~tiomap-dev/+archive/release/+files/${PN}_1.7.5.0~gitc77b84a.orig.tar.gz +https://launchpad.net/~tiomap-dev/+archive/release/+files/${PN}_1.7.5.0~gitc77b84a-2.diff.gz" + + +LICENSE="TI" +SLOT="0" +KEYWORDS="arm" + +IUSE="" +DEPEND="" + +S="${WORKDIR}/${P}/sgx" +#RESTRICT="strip" + +src_prepare() { + cd "${WORKDIR}" + epatch *.diff + + mv pvr-omap4-kernel-1.7.5.0~gitc77b84a ${P} + + cd "${P}" + + epatch debian/patches/*.patch +} + +src_compile() { + emake -j1 KERNELDIR="${KV_DIR}" LDFLAGS="" FLAVOUR=release W=1 || die +} + +src_install() { + insinto /lib/modules/${KV_FULL}/kernel/extra + doins pvrsrvkm.ko +} |