dd if=/dev/zero count=1 bs=$padding >> $1
}
-baikal_build_bootrom () {
+do_baikal_build_bootrom () {
cd ${WORKDIR}
cat ${BAIKAL_IMAGES}/${MACHINE}.u-boot.bin > ${MACHINE}.rom
check_size_fitness ${MACHINE}.rom ${UBOOT_SECTION_END} ${MACHINE}.u-boot.bin
cp -f ${MACHINE}.rom -t ${BAIKAL_IMAGES}
}
+addtask do_baikal_build_bootrom before do_populate_lic_deploy
-IMAGE_POSTPROCESS_COMMAND += "baikal_deploy;baikal_build_bootrom;"
+IMAGE_POSTPROCESS_COMMAND += "baikal_deploy;"
+do_baikal_build_bootrom[depends] = "linux-baikal:do_deploy"
python () {
if d.getVar("PREFERRED_PROVIDER_virtual/kernel") == "linux-baikal":
do_assemble_fitimage_initramfs
}
-do_deploy[prefuncs] += "baikal_entrysymbol"
-
-do_deploy[prefuncs] += "baikal_do_umulti"
+do_deploy[postfuncs] += "baikal_entrysymbol"
+do_deploy[postfuncs] += "baikal_do_umulti"