1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-05-06 19:39:17 +00:00
Files
meta-ti/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb
Khem Raj ec0e20bb24 ti-display-sharing-fw: Do not strip during staging sysroot stage
Fixes build with non arm architectures

Subprocess output:x86_64-yoe-linux-strip: Unable to recognise the format of the input file `TOPDIR/build/tmpfs/work/qemux86_64-yoe-linux/ti-display-sharing-fw/00.09.00.00-gitAUTOINC+4a86f16df9-r0/sysroot-destdir/lib/firmware/ti-display-sharing-j721e.bin'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2019-07-15 19:37:52 +00:00

49 lines
1.6 KiB
BlitzBasic

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"
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"