diff options
Diffstat (limited to 'recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.02.bb')
-rw-r--r-- | recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.02.bb | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.02.bb b/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.02.bb deleted file mode 100644 index d5737cdf..00000000 --- a/recipes-bsp/powervr-drivers/omap3-sgx-modules_4.08.00.02.bb +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the omap3 SoCs" | ||
2 | LICENSE = "GPLv2" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea5743acf520dd81ca172e69f818a3d4" | ||
4 | |||
5 | TI_BIN_UNPK_CMDS="Y: qY:workdir:Y" | ||
6 | require ../../recipes-ti/includes/ti-eula-unpack.inc | ||
7 | |||
8 | SGXPV = "4_08_00_02" | ||
9 | IMGPV = "1.9.2188537" | ||
10 | BINFILE = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin" | ||
11 | |||
12 | inherit module | ||
13 | |||
14 | MACHINE_KERNEL_PR_append = "a" | ||
15 | PR = "${MACHINE_KERNEL_PR}" | ||
16 | |||
17 | SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/${SGXPV}/exports/${BINFILE}" | ||
18 | |||
19 | SRC_URI[md5sum] = "0efa3a38266e6f41f8cc4fad0187f0d6" | ||
20 | SRC_URI[sha256sum] = "c732044b515a598e1fab661b7463aa9c53d4fa37f4980dfa85cd02b7468d0cd9" | ||
21 | |||
22 | TI_BIN_UNPK_WDEXT="/Graphics_SDK_${SGXPV}" | ||
23 | S = "${WORKDIR}${TI_BIN_UNPK_WDEXT}/GFX_Linux_KM" | ||
24 | |||
25 | PVRBUILD = "release" | ||
26 | export KERNELDIR = "${STAGING_KERNEL_DIR}" | ||
27 | |||
28 | INHIBIT_PACKAGE_STRIP = "1" | ||
29 | |||
30 | TI_PLATFORM_omap3 = "omap3630" | ||
31 | TI_PLATFORM_ti814x = "ti81xx" | ||
32 | TI_PLATFORM_ti816x = "ti81xx" | ||
33 | TI_PLATFORM_ti33x = "ti335x" | ||
34 | |||
35 | MODULESLOCATION_omap3 = "dc_omapfb3_linux" | ||
36 | MODULESLOCATION_ti814x = "dc_ti81xx_linux" | ||
37 | MODULESLOCATION_ti816x = "dc_ti81xx_linux" | ||
38 | MODULESLOCATION_ti33x = "dc_ti335x_linux" | ||
39 | |||
40 | export SUPPORT_XORG ?= "${@base_contains('DISTRO_FEATURES', 'x11', '1', '0', d)}" | ||
41 | |||
42 | MAKE_TARGETS = " BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}" | ||
43 | |||
44 | do_install() { | ||
45 | mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr | ||
46 | cp ${S}/pvrsrvkm.ko \ | ||
47 | ${S}/services4/3rdparty/${MODULESLOCATION}/omaplfb.ko \ | ||
48 | ${S}/services4/3rdparty/bufferclass_ti/bufferclass_ti.ko \ | ||
49 | ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr | ||
50 | |||
51 | if [ "${SUPPORT_XORG}" = "1" ]; then | ||
52 | cp ${S}/services4/3rdparty/linux_drm/drm.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/gpu/pvr | ||
53 | fi | ||
54 | } | ||