This fails to build for mips arch see https://errors.yoctoproject.org/Errors/Details/251213/
please mark this recipe either arm or ti soc specific this will help meta-ti in multi-BSP distros. On Tue, Jul 2, 2019 at 11:18 AM Subhajit Paul <[email protected]> wrote: > > Signed-off-by: Subhajit Paul <[email protected]> > Reviewed-by: Dan Murphy <[email protected]> > --- > .../ti-display-sharing-firmware_git.bb | 46 > ++++++++++++++++++++++ > 1 file changed, 46 insertions(+) > create mode 100644 > recipes-bsp/ti-display-sharing-fw/ti-display-sharing-firmware_git.bb > > diff --git > a/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-firmware_git.bb > b/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-firmware_git.bb > new file mode 100644 > index 0000000..675b3f2 > --- /dev/null > +++ b/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-firmware_git.bb > @@ -0,0 +1,46 @@ > +SUMMARY = "TI Display Sharing Firmware" > + > +LICENSE = "TI-TFL" > +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76" > + > +PV = "00.09.00.00-git${SRCPV}" > +PACKAGE_ARCH = "${MACHINE_ARCH}" > + > +inherit deploy > +inherit update-alternatives > + > +PROTOCOL = "git" > +BRANCH = "ti-linux-firmware" > +SRCREV = "4a86f16df9b44798851e51fa465825710cda76cf" > + > +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" > +# 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" > -- > 2.7.4 > > -- > _______________________________________________ > meta-ti mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-ti -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
