+++ /dev/null
-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"
--- /dev/null
+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"