diff options
Diffstat (limited to 'meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.2.6460340.bb')
-rw-r--r-- | meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.2.6460340.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.2.6460340.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.2.6460340.bb new file mode 100644 index 00000000..d46699ca --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_23.2.6460340.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | DESCRIPTION = "Kernel drivers for the PowerVR Rogue GPU found in the TI SoCs" | ||
2 | HOMEPAGE = "http://git.ti.com/graphics/ti-img-rogue-driver" | ||
3 | LICENSE = "MIT | GPL-2.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://README;beginline=14;endline=19;md5=0403c7dea01a2b8232261e805325fac2" | ||
5 | |||
6 | inherit module | ||
7 | |||
8 | PROVIDES = "virtual/gpudriver" | ||
9 | |||
10 | MACHINE_KERNEL_PR:append = "b" | ||
11 | PR = "${MACHINE_KERNEL_PR}" | ||
12 | |||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
14 | |||
15 | COMPATIBLE_MACHINE = "j721e|j721s2|j784s4|am62xx" | ||
16 | |||
17 | DEPENDS = "virtual/kernel" | ||
18 | |||
19 | BRANCH = "linuxws/kirkstone/k6.1/${PV}" | ||
20 | |||
21 | SRC_URI = "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;branch=${BRANCH}" | ||
22 | |||
23 | S = "${WORKDIR}/git" | ||
24 | |||
25 | SRCREV = "778aa5d1e104f36c7f7c1f50e99f8499cbbdadbb" | ||
26 | |||
27 | TARGET_PRODUCT:j721e = "j721e_linux" | ||
28 | TARGET_PRODUCT:j721s2 = "j721s2_linux" | ||
29 | TARGET_PRODUCT:j784s4 = "j784s4_linux" | ||
30 | TARGET_PRODUCT:am62xx = "am62_linux" | ||
31 | PVR_BUILD = "release" | ||
32 | PVR_WS = "lws-generic" | ||
33 | |||
34 | EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" BUILD=${PVR_BUILD} PVR_BUILD_DIR=${TARGET_PRODUCT} WINDOW_SYSTEM=${PVR_WS}' | ||
35 | |||
36 | do_install() { | ||
37 | make -C ${STAGING_KERNEL_DIR} M=${B}/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_aarch64/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install | ||
38 | } | ||
39 | |||
40 | RRECOMMENDS:${PN} += "ti-img-rogue-umlibs" | ||