linux-dey-6.6: fix FIT image generation

Assembling a FIT image requires that all artifacts are ready before calling
assemble_fitimage(), which occurs before do_install() and after do_compile().

To ensure the Linux kernel recipe provides the final artifacts in the correct
location, this commit replaces the additional do_install() step with an
additional do_compile() step, ensuring that all necessary artifacts are
available before assemble_fitimage().

https://onedigi.atlassian.net/browse/DEL-9442

Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2025-03-17 21:07:01 +01:00
parent f27c3364cb
commit a472b4f2f0
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ module_conf_btnxpuart = "blacklist btnxpuart"
# --------------------------------------------------------------------- # ---------------------------------------------------------------------
# stub for devicetree which are located on digi directory # stub for devicetree which are located on digi directory
do_install:prepend:ccmp2() { do_compile:append:ccmp2() {
if [ -d "${B}/arch/${ARCH}/boot/dts/digi" ]; then if [ -d "${B}/arch/${ARCH}/boot/dts/digi" ]; then
for dtbf in ${KERNEL_DEVICETREE}; do for dtbf in ${KERNEL_DEVICETREE}; do
install -m 0644 "${B}/arch/${ARCH}/boot/dts/digi/${dtbf}" "${B}/arch/${ARCH}/boot/dts/" install -m 0644 "${B}/arch/${ARCH}/boot/dts/digi/${dtbf}" "${B}/arch/${ARCH}/boot/dts/"