diff options
Diffstat (limited to 'meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb')
-rw-r--r-- | meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb b/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb new file mode 100644 index 00000000..a56810d4 --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs" +HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver" +LICENSE = "MIT | GPL-2.0-only" +LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297" + +inherit module features_check + +REQUIRED_MACHINE_FEATURES = "gc320" + +MACHINE_KERNEL_PR:append = "i" +PR = "${MACHINE_KERNEL_PR}" + +# Need to branch out with ${PV} var +BRANCH = "ti-${PV}-k5.10" + +SRCREV = "e2a10f31e255a65ec30a6e10b890e77d7e9cb107" + +SRC_URI = "git://git.ti.com/git/graphics/ti-gc320-driver.git;protocol=https;branch=${BRANCH}" + +S = "${WORKDIR}/git/src" + +EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}" + +do_install() { + install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra + install -m 644 ${S}/galcore.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra +} + +COMPATIBLE_HOST ?= "null" +COMPATIBLE_HOST:ti-soc = "(.*)" |