diff options
author | Gowtham Tammana <g-tammana@ti.com> | 2016-08-23 00:14:58 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2016-08-23 14:40:11 -0400 |
commit | 30e001db25b8d66a51aa8071e274d00df390e798 (patch) | |
tree | 8fed247c7f9dbf1448958ae8f8f05afb877cea26 | |
parent | 3ff27c86652f3dec355fc758c2495a2ef57145e0 (diff) | |
download | meta-ti-30e001db25b8d66a51aa8071e274d00df390e798.tar.gz |
ti-gc320-driver: recipe for gc320 kernel mode driver
Kernel drivers for the Vivante GC320 chipset found in TI SoCs
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r-- | recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb b/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb new file mode 100644 index 00000000..9344e30b --- /dev/null +++ b/recipes-bsp/gc320-drivers/ti-gc320-driver_5.0.11.p7.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs" | ||
2 | HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver" | ||
3 | LICENSE = "MIT | GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297" | ||
5 | |||
6 | inherit module | ||
7 | |||
8 | MACHINE_KERNEL_PR_append = "a" | ||
9 | PR = "${MACHINE_KERNEL_PR}" | ||
10 | |||
11 | # Need to branch out with ${PV} var | ||
12 | BRANCH = "ti-${PV}-k4.4" | ||
13 | |||
14 | SRCREV = "7a2b06ad1df46a274336f7ae0e24a9d67e72cd66" | ||
15 | |||
16 | SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}" | ||
17 | S = "${WORKDIR}/git/src" | ||
18 | |||
19 | EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}" | ||
20 | |||
21 | do_install() { | ||
22 | install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra | ||
23 | install -m 644 ${S}/galcore.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra | ||
24 | } | ||