mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-05 02:11:00 +00:00
ti-linux-fw: Add several more firmware helper lines to this common include
These are all useful for firmware recipes but some recipes did not have them. For firmware including ti-linux-fw.inc let's add these all to one spot and remove them from any recipe that did already have these. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
2eda955fae
commit
547ec80a73
@@ -30,7 +30,3 @@ do_install() {
|
||||
install -d ${D}${nonarch_base_libdir}/firmware/cnm
|
||||
install -m 0644 ${S}/cnm/${SOURCE_WAVE521C} ${D}${nonarch_base_libdir}/firmware/cnm/${TARGET_WAVE521C}
|
||||
}
|
||||
|
||||
# we don't want to configure and build the source code
|
||||
do_compile[noexec] = "1"
|
||||
do_configure[noexec] = "1"
|
||||
|
||||
@@ -24,5 +24,3 @@ do_install() {
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN} = "arch"
|
||||
|
||||
@@ -22,5 +22,3 @@ do_install() {
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN} = "arch"
|
||||
|
||||
@@ -19,5 +19,3 @@ do_install() {
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN} = "arch"
|
||||
|
||||
@@ -24,5 +24,3 @@ do_install() {
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN} = "arch"
|
||||
|
||||
@@ -20,5 +20,3 @@ do_install() {
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN} = "arch"
|
||||
|
||||
@@ -20,5 +20,3 @@ do_install() {
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN} = "arch"
|
||||
|
||||
@@ -24,5 +24,3 @@ do_install() {
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN} = "arch"
|
||||
|
||||
@@ -19,5 +19,3 @@ do_install() {
|
||||
install -m 0644 ${S}/ti-pruss/$f ${D}${nonarch_base_libdir}/firmware/ti-pruss/$f
|
||||
done
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN} = "arch"
|
||||
|
||||
@@ -104,16 +104,4 @@ ALTERNATIVE_TARGET[j784s4-mcu-r5f0_0-fw] = "${INSTALL_DM_FW_DIR}/${DM_FIRMWARE}"
|
||||
|
||||
ALTERNATIVE_PRIORITY = "10"
|
||||
|
||||
# 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"
|
||||
|
||||
addtask deploy after do_install
|
||||
|
||||
@@ -101,15 +101,3 @@ ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}
|
||||
ALTERNATIVE_TARGET[j784s4-main-r5f0_0-fw-sec] = "${INSTALL_ETH_FW_DIR}/${ETH_FW}.signed"
|
||||
|
||||
ALTERNATIVE_PRIORITY = "5"
|
||||
|
||||
# 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"
|
||||
|
||||
@@ -30,3 +30,17 @@ CLEANBROKEN = "1"
|
||||
|
||||
# Make sure that lib/firmware, and all its contents are part of the package
|
||||
FILES:${PN} = "${nonarch_base_libdir}/firmware"
|
||||
|
||||
# This is used to prevent the build system from stripping the firmwares
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
|
||||
# This is used to prevent the build system from splitting out the firmware debug info into a separate file
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
|
||||
# Disable arch checking as firmware is likely to be a different arch from the Yocto build
|
||||
INSANE_SKIP:${PN} += "arch"
|
||||
|
||||
# Firmware in Linux Firmware has no configure nor build steps
|
||||
do_compile[noexec] = "1"
|
||||
do_configure[noexec] = "1"
|
||||
|
||||
@@ -366,15 +366,3 @@ ALTERNATIVE_TARGET[j784s4-c71_3-fw] = "${INSTALL_IPC_FW_DIR}/${C7X_4_FW}"
|
||||
ALTERNATIVE_TARGET[j784s4-c71_3-fw-sec] = "${INSTALL_IPC_FW_DIR}/${C7X_4_FW}.signed"
|
||||
|
||||
ALTERNATIVE_PRIORITY = "10"
|
||||
|
||||
# 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"
|
||||
|
||||
Reference in New Issue
Block a user