]> git.baikalelectronics.ru Git - openembedded-baikal.git/commitdiff
u-boot_2022.07.bbappend: Rename to u-boot_2022.10.bbappend
authorBaikal Electronics <support@baikalelectronics.ru>
Fri, 27 Jan 2023 13:38:07 +0000 (16:38 +0300)
committerBaikal Electronics <support@baikalelectronics.ru>
Fri, 27 Jan 2023 13:38:07 +0000 (16:38 +0300)
meta-baikal/recipes-bsp/u-boot/u-boot_2022.07.bbappend [deleted file]
meta-baikal/recipes-bsp/u-boot/u-boot_2022.10.bbappend [new file with mode: 0644]

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 (file)
index f9dcef3..0000000
+++ /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 (file)
index 0000000..f9dcef3
--- /dev/null
@@ -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"