From: Baikal Electronics Date: Fri, 27 Jan 2023 13:38:07 +0000 (+0300) Subject: u-boot_2022.07.bbappend: Rename to u-boot_2022.10.bbappend X-Git-Tag: baikal/mips/sdk6.1~15 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=9b17685104b29a01068e7a2d962743cb3a0d9be8;p=openembedded-baikal.git u-boot_2022.07.bbappend: Rename to u-boot_2022.10.bbappend --- diff --git a/meta-baikal/recipes-bsp/u-boot/u-boot_2022.07.bbappend b/meta-baikal/recipes-bsp/u-boot/u-boot_2022.07.bbappend deleted file mode 100644 index f9dcef3..0000000 --- a/meta-baikal/recipes-bsp/u-boot/u-boot_2022.07.bbappend +++ /dev/null @@ -1,44 +0,0 @@ -inherit externalsrc - -EXTERNALSRC = "${UBOOT_DIR}" - -do_extsrc_clean () { - if [ -d ${BAIKAL_IMAGES} ]; then - rm -f ${BAIKAL_IMAGES}/*u-boot* - fi - - oe_runmake -C ${S} mrproper -} -addtask do_extsrc_clean - -do_cleanall[prefuncs] += "do_extsrc_clean" - -include u-boot-environment.inc - -baikal_deploy () { - if [ ! -d ${BAIKAL_IMAGES} ]; then - mkdir -p ${BAIKAL_IMAGES} - fi - if [ -n "${UBOOT_CONFIG}" ] - then - for config in ${UBOOT_MACHINE}; do - i=$(expr $i + 1); - for type in ${UBOOT_CONFIG}; do - j=$(expr $j + 1); - if [ $j -eq $i ] - then - install -D -m 644 ${B}/${config}/${UBOOT_BINARYNAME}-${type}.${UBOOT_SUFFIX} ${BAIKAL_IMAGES}/${type}.${UBOOT_BINARY} - fi - done - unset j - done - unset i - else - install -D -m 644 ${B}/${UBOOT_BINARY} ${BAIKAL_IMAGES}/${MACHINE}.${UBOOT_BINARY} - fi - if [ -f ${WORKDIR}/${MACHINE}.bin ]; then - cp -f ${WORKDIR}/${MACHINE}.bin ${BAIKAL_IMAGES}/${MACHINE}.bin - fi -} - -do_deploy[postfuncs] += "baikal_deploy" diff --git a/meta-baikal/recipes-bsp/u-boot/u-boot_2022.10.bbappend b/meta-baikal/recipes-bsp/u-boot/u-boot_2022.10.bbappend new file mode 100644 index 0000000..f9dcef3 --- /dev/null +++ b/meta-baikal/recipes-bsp/u-boot/u-boot_2022.10.bbappend @@ -0,0 +1,44 @@ +inherit externalsrc + +EXTERNALSRC = "${UBOOT_DIR}" + +do_extsrc_clean () { + if [ -d ${BAIKAL_IMAGES} ]; then + rm -f ${BAIKAL_IMAGES}/*u-boot* + fi + + oe_runmake -C ${S} mrproper +} +addtask do_extsrc_clean + +do_cleanall[prefuncs] += "do_extsrc_clean" + +include u-boot-environment.inc + +baikal_deploy () { + if [ ! -d ${BAIKAL_IMAGES} ]; then + mkdir -p ${BAIKAL_IMAGES} + fi + if [ -n "${UBOOT_CONFIG}" ] + then + for config in ${UBOOT_MACHINE}; do + i=$(expr $i + 1); + for type in ${UBOOT_CONFIG}; do + j=$(expr $j + 1); + if [ $j -eq $i ] + then + install -D -m 644 ${B}/${config}/${UBOOT_BINARYNAME}-${type}.${UBOOT_SUFFIX} ${BAIKAL_IMAGES}/${type}.${UBOOT_BINARY} + fi + done + unset j + done + unset i + else + install -D -m 644 ${B}/${UBOOT_BINARY} ${BAIKAL_IMAGES}/${MACHINE}.${UBOOT_BINARY} + fi + if [ -f ${WORKDIR}/${MACHINE}.bin ]; then + cp -f ${WORKDIR}/${MACHINE}.bin ${BAIKAL_IMAGES}/${MACHINE}.bin + fi +} + +do_deploy[postfuncs] += "baikal_deploy"