sdcard_image bblass: set beaglebone VFAT label to 'BEAGLE_BONE'
[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 = "k"
16 SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/Graphics_SDK_setuplinux_${SGXPV}.bin \
17            file://Compile-fixes-for-38-kernel.patch \
18            file://kernel-30.patch \
19           "
20 SRC_URI[md5sum] = "ff8c1f2b8e4cb42f4ced6a613b081ada"
21 SRC_URI[sha256sum] = "cdb0bd3964e107733d632aa8224e0537b05c1ffac34befc036423458c8d75255"
23 S = "${WORKDIR}/Graphics_SDK_${SGXPV}/GFX_Linux_KM"
25 PVRBUILD = "release"
26 export KERNELDIR = "${STAGING_KERNEL_DIR}"
28 PACKAGE_STRIP = "no"
30 TI_PLATFORM_omap3 = "omap3630"
31 TI_PLATFORM_ti816x = "ti81xx"
33 MODULESLOCATION_omap3 = "dc_omap3430_linux"
34 MODULESLOCATION_ti816x = "dc_ti81xx_linux"
36 MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM}"
38 do_install() {
39         mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
40         cp ${S}/pvrsrvkm.ko \
41            ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko  \
42            ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \
43            ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr
44 }