summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-bsp/u-boot/u-boot.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index 7053a56786..88e239d66a 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -78,6 +78,7 @@ do_compile () {
78 done 78 done
79 unset j 79 unset j
80 done 80 done
81 unset i
81 else 82 else
82 oe_runmake ${UBOOT_MACHINE} 83 oe_runmake ${UBOOT_MACHINE}
83 oe_runmake ${UBOOT_MAKE_TARGET} 84 oe_runmake ${UBOOT_MAKE_TARGET}
@@ -101,6 +102,7 @@ do_install () {
101 done 102 done
102 unset j 103 unset j
103 done 104 done
105 unset i
104 else 106 else
105 install -d ${D}/boot 107 install -d ${D}/boot
106 install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE} 108 install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
@@ -129,6 +131,7 @@ do_install () {
129 done 131 done
130 unset j 132 unset j
131 done 133 done
134 unset i
132 else 135 else
133 install ${S}/${SPL_BINARY} ${D}/boot/${SPL_IMAGE} 136 install ${S}/${SPL_BINARY} ${D}/boot/${SPL_IMAGE}
134 ln -sf ${SPL_IMAGE} ${D}/boot/${SPL_BINARY} 137 ln -sf ${SPL_IMAGE} ${D}/boot/${SPL_BINARY}
@@ -162,6 +165,7 @@ do_deploy () {
162 done 165 done
163 unset j 166 unset j
164 done 167 done
168 unset i
165 else 169 else
166 install -d ${DEPLOYDIR} 170 install -d ${DEPLOYDIR}
167 install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE} 171 install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
@@ -193,6 +197,7 @@ do_deploy () {
193 done 197 done
194 unset j 198 unset j
195 done 199 done
200 unset i
196 else 201 else
197 install ${S}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_IMAGE} 202 install ${S}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_IMAGE}
198 rm -f ${DEPLOYDIR}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_SYMLINK} 203 rm -f ${DEPLOYDIR}/${SPL_BINARY} ${DEPLOYDIR}/${SPL_SYMLINK}