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

inherit module

SRC_URI = "file://omap3-sgx-modules-${PV}.tar.bz2 \
           file://0002-Compile-fixes-for-DSS2.patch;patch=1 \
           file://rotation-dss2.patch;patch=1 \
           file://build_es3.x_sgx.patch;patch=1 \
"

SRC_URI_append_omapzoom2 = " file://proc-interface.patch;patch=1"
SRC_URI_append_omap3evm = " file://proc-interface.patch;patch=1"
SRC_URI_append_omap3517-evm = " file://proc-interface.patch;patch=1"


PVRBUILD = "release"

MAKE_TARGETS = " BUILD=${PVRBUILD}"

do_install() {
	mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
	cp ${S}/pvrsrvkm.ko ${S}/services4/3rdparty/dc_omap3430_linux/omaplfb.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
}