diff options
author | 2020-10-22 14:58:56 +0900 | |
---|---|---|
committer | 2020-10-22 14:58:56 +0900 | |
commit | 4204309872da5cb401cbb2729d9e2d4869a87f42 (patch) | |
tree | c7415e8600205e40ff7e91e8e5f4c411f30329f2 /bsp/meta-ti/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb | |
parent | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (diff) |
agl-basesystem 0.1sandbox/ToshikazuOhiwa/master
Diffstat (limited to 'bsp/meta-ti/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb')
-rw-r--r-- | bsp/meta-ti/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/bsp/meta-ti/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb b/bsp/meta-ti/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb new file mode 100644 index 00000000..9115b6b4 --- /dev/null +++ b/bsp/meta-ti/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb @@ -0,0 +1,48 @@ +SUMMARY = "TI Display Sharing Firmware" + +LICENSE = "TI-TFL" +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" + +PV = "06.01.00.00+git${SRCPV}" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +inherit deploy +inherit update-alternatives + +PROTOCOL = "git" +BRANCH = "ti-linux-firmware" +SRCREV = "e7be1ab85266c47236330e2909997d20fc62e312" + +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=${PROTOCOL};branch=${BRANCH}" + +S = "${WORKDIR}/git" + +TI_DISP_SHARE_FW_DIR = "${S}/ti-display-sharing/" +TI_DISP_SHARE_FW_FILENAME = "ti-display-sharing-j721e.bin" + +# make sure that lib/firmware, and all its contents are part of the package +FILES_${PN} += "${base_libdir}/firmware" + +do_install() { + install -d ${D}${base_libdir}/firmware + install -m 0755 ${TI_DISP_SHARE_FW_DIR}/${TI_DISP_SHARE_FW_FILENAME} ${D}${base_libdir}/firmware +} + +TARGET_MAIN_R5FSS0_1 = "j7-main-r5f0_1-fw" +ALTERNATIVE_${PN} = "j7-main-r5f0_1-fw" +ALTERNATIVE_LINK_NAME[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_1}" +ALTERNATIVE_TARGET[j7-main-r5f0_1-fw] = "${base_libdir}/firmware/${TI_DISP_SHARE_FW_FILENAME}" +ALTERNATIVE_PRIORITY = "9" + +# This is used to prevent the build system to strip the executables +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" + +# This is used to prevent the build system to split the debug info in a separate file +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +# As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP +INSANE_SKIP_${PN} += "arch" + +# we don't want to configure and build the source code +do_compile[noexec] = "1" +do_configure[noexec] = "1" |