linux-ti-staging: update SRCREV and bump MACHINE_KERNEL_PR
[glsdk/meta-ti-glsdk.git] / recipes-bsp / powervr-drivers / omap3-sgx-modules_1.6.16.3977.bb
1 DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs"
2 LICENSE = "GPLv2"
3 LIC_FILES_CHKSUM = "file://COPYING;md5=21228a42e27d1d104b31a83f7c9da935"
5 TI_BIN_UNPK_CMDS="Y: qY:workdir:Y"
6 require ../../recipes-ti/includes/ti-eula-unpack.inc
8 SGXPV = "4_03_00_02"
9 IMGPV = "1.6.16.3977"
10 BINFILE := "Graphics_SDK_setuplinux_${SGXPV}.bin"
12 inherit module
14 MACHINE_KERNEL_PR_append = "b"
15 PR = "${MACHINE_KERNEL_PR}"
17 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE} \
18            file://Compile-fixes-for-38-kernel.patch \
19            file://kernel-30.patch \
20           "
21 SRC_URI[md5sum] = "ff8c1f2b8e4cb42f4ced6a613b081ada"
22 SRC_URI[sha256sum] = "cdb0bd3964e107733d632aa8224e0537b05c1ffac34befc036423458c8d75255"
23 TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}"
24 S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM"
26 PVRBUILD = "release"
27 export KERNELDIR = "${STAGING_KERNEL_DIR}"
29 INHIBIT_PACKAGE_STRIP = "1"
31 TI_PLATFORM_omap3 = "omap3630"
32 TI_PLATFORM_ti816x = "ti81xx"
34 MODULESLOCATION_omap3 = "dc_omap3430_linux"
35 MODULESLOCATION_ti816x = "dc_ti81xx_linux"
37 MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"
39 do_install() {
40         mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
41         cp ${S}/pvrsrvkm.ko \
42            ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko  \
43            ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
44            ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
45 }