diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2022-02-22 04:13:45 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-02-22 12:01:38 -0600 |
commit | 20f3191aeb592dd889eeaf96a31526297de95306 (patch) | |
tree | aec879b9855ff8a54df171ee808e30ac26f1c80b /meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb | |
parent | bea4fd2c401af05b866bd6af1c4e501d31b7b420 (diff) | |
download | meta-ti-20f3191aeb592dd889eeaf96a31526297de95306.tar.gz |
meta-ti: create a sub-layer meta-ti-bsp from existing content
Extra sub-layers will be created next and relevant content moved across them.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb')
-rw-r--r-- | meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb new file mode 100644 index 00000000..5fe6c201 --- /dev/null +++ b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.17.4948957.bb | |||
@@ -0,0 +1,46 @@ | |||
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 features_check | ||
7 | |||
8 | REQUIRED_MACHINE_FEATURES = "gpu" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3" | ||
11 | |||
12 | MACHINE_KERNEL_PR:append = "x" | ||
13 | PR = "${MACHINE_KERNEL_PR}" | ||
14 | |||
15 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
16 | |||
17 | DEPENDS = "virtual/kernel" | ||
18 | |||
19 | PROVIDES = "virtual/gpudriver" | ||
20 | |||
21 | BRANCH = "ti-img-sgx/${PV}/k5.10" | ||
22 | |||
23 | SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}" | ||
24 | |||
25 | S = "${WORKDIR}/git" | ||
26 | |||
27 | SRCREV = "eda7780bfd5277e16913c9bc0b0e6892b4e79063" | ||
28 | |||
29 | TARGET_PRODUCT:omap-a15 = "jacinto6evm" | ||
30 | TARGET_PRODUCT:ti33x = "ti335x" | ||
31 | TARGET_PRODUCT:ti43x = "ti437x" | ||
32 | TARGET_PRODUCT:k3 = "ti654x" | ||
33 | |||
34 | EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" TARGET_PRODUCT=${TARGET_PRODUCT} WINDOW_SYSTEM=nulldrmws' | ||
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} M=${B}/eurasia_km/eurasiacon/binary_omap_linux_nulldrmws_release/target_armhf/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install | ||
42 | } | ||
43 | |||
44 | do_install:k3() { | ||
45 | make -C ${STAGING_KERNEL_DIR} M=${B}/eurasia_km/eurasiacon/binary_omap_linux_nulldrmws_release/target_aarch64/kbuild INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install | ||
46 | } | ||