From: Baikal Electronics Date: Tue, 20 Sep 2022 20:22:49 +0000 (+0300) Subject: Deploy kernel .dtb files into a prefered place X-Git-Tag: baikal/mips/sdk6.1~24 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=48e23337b4859d4f813f1965fe23b2690b380dbc;p=openembedded-baikal.git Deploy kernel .dtb files into a prefered place --- 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"