From 48e23337b4859d4f813f1965fe23b2690b380dbc Mon Sep 17 00:00:00 2001 From: Baikal Electronics Date: Tue, 20 Sep 2022 23:22:49 +0300 Subject: [PATCH] Deploy kernel .dtb files into a prefered place --- meta-baikal/recipes-kernel/linux/linux-baikal_5.15.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-baikal/recipes-kernel/linux/linux-baikal_5.15.bb b/meta-baikal/recipes-kernel/linux/linux-baikal_5.15.bb index 3059a62..f564546 100644 --- a/meta-baikal/recipes-kernel/linux/linux-baikal_5.15.bb +++ b/meta-baikal/recipes-kernel/linux/linux-baikal_5.15.bb @@ -36,6 +36,10 @@ baikal_deploy_vmlinux () { cp -f ${B}/${KERNEL_OUTPUT_DIR}/vmlinux.bin ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin cp -f ${B}/${KERNEL_OUTPUT_DIR}/vmlinux.bin.gz ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin.gz cat ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin | lzma -f -9 > ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin.lzma + + for dtbf in ${KERNEL_DEVICETREE}; do + cp -f ${B}/${KERNEL_OUTPUT_DIR}/dts/$dtbf -t ${BAIKAL_IMAGES} + done } do_deploy[postfuncs] += "baikal_deploy" -- 2.39.5