summaryrefslogtreecommitdiff
path: root/packages/powervr-drivers/omap3-sgx-modules_1.3.13.1397.bb
blob: 20bce6091c42c2bf0e6261af5a371af3804b9352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
LICENSE = "GPLv2"

PR = "r3"

inherit module

SRC_URI = "http://dominion.thruhere.net/koen/OE/omap3-sgx-modules-${PV}.tar.bz2 \
#           file://0001-Compile-fixes-for-DSS2.patch;patch=1 \
"

MAKE_TARGETS = "BUILD=debug"

do_compile_prepend() {
	cd ${S}/eurasiacon/build/linux/omap3430_linux/kbuild/
}

do_install() {
	cd ${S}/eurasiacon/build/linux/omap3430_linux/kbuild/
	mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
	cp ${WORKDIR}/${PN}-${PV}/eurasiacon/binary_omap3430_linux_debug/*.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
}