From ae6c103b879b5f259b72fde53f0659a234cb8711 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 2 Jul 2019 22:54:52 +0000 Subject: ti-display-sharing: use consistent -fw naming for firmware packages Signed-off-by: Denys Dmytriyenko --- .../ti-display-sharing-firmware_git.bb | 46 ---------------------- .../ti-display-sharing-fw_git.bb | 46 ++++++++++++++++++++++ 2 files changed, 46 insertions(+), 46 deletions(-) delete mode 100644 recipes-bsp/ti-display-sharing-fw/ti-display-sharing-firmware_git.bb create mode 100644 recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_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 deleted file mode 100644 index 675b3f2c..00000000 --- a/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-firmware_git.bb +++ /dev/null @@ -1,46 +0,0 @@ -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" diff --git a/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb b/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_git.bb new file mode 100644 index 00000000..675b3f2c --- /dev/null +++ b/recipes-bsp/ti-display-sharing-fw/ti-display-sharing-fw_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" -- cgit v1.2.3-54-g00ecf