diff options
Diffstat (limited to 'recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb')
-rw-r--r-- | recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb new file mode 100644 index 00000000..0e99791f --- /dev/null +++ b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | DESCRIPTION = "Kernel drivers for the PowerVR SGX chipset found in the TI SoCs" | ||
2 | HOMEPAGE = "https://git.ti.com/graphics/omap5-sgx-ddk-linux" | ||
3 | LICENSE = "MIT | GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=74506d9b8e5edbce66c2747c50fcef12" | ||
5 | |||
6 | inherit module | ||
7 | |||
8 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15" | ||
9 | |||
10 | MACHINE_KERNEL_PR_append = "i" | ||
11 | PR = "${MACHINE_KERNEL_PR}" | ||
12 | |||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
14 | |||
15 | DEPENDS = "virtual/kernel" | ||
16 | |||
17 | PROVIDES = "omapdrm-pvr" | ||
18 | |||
19 | RPROVIDES_${PN} = "omapdrm-pvr" | ||
20 | RREPLACES_${PN} = "omapdrm-pvr" | ||
21 | RCONFLICTS_${PN} = "omapdrm-pvr" | ||
22 | |||
23 | BRANCH = "ti-img-sgx/${PV}/k4.1" | ||
24 | |||
25 | SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}" | ||
26 | S = "${WORKDIR}/git" | ||
27 | |||
28 | SRCREV = "fed0756f1b8b9d526da2821635c7d742989d47c3" | ||
29 | |||
30 | TARGET_PRODUCT_omap-a15 = "jacinto6evm" | ||
31 | TARGET_PRODUCT_ti33x = "ti335x" | ||
32 | TARGET_PRODUCT_ti43x = "ti437x" | ||
33 | |||
34 | EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT}' | ||
35 | |||
36 | do_compile_prepend() { | ||
37 | cd ${S}/eurasia_km/eurasiacon/build/linux2/omap_linux | ||
38 | } | ||
39 | |||
40 | do_install() { | ||
41 | make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_omap_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install | ||
42 | } | ||