anchor.diff:      uboot_make_bootimg
   }
   
  -do_deploy[depends] += "${CBOOTDEP}"
  +uboot_bup_payload() {
  +    :
  +}
  +
  +uboot_bup_payload_tegra186() {
  +    oe_make_bup_payload ${B}/$1
  +    cp ${WORKDIR}/bup-payload/bl_update_payload ${1}.bup-payload
  +}
  +
  +do_compile[depends] += "${CBOOTDEP}"
  +
  +do_deploy_append_tegra186 () {
  +    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 ${DEPLOYDIR}
  +                    install -m 644 ${B}/${config}/u-boot-${type}.${UBOOT_SUFFIX} ${DEPLOYDIR}/u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX}.bup-payload
  +                    cd ${DEPLOYDIR}
  +                    ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_SYMLINK}-${type}.bup-payload
  +                    ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_SYMLINK}.bup-payload
  +                    ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_BINARY}-${type}.bup-payload
  +                    ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} ${UBOOT_BINARY}.bup-payload
  +                fi
  +            done
  +            unset  j
  +        done
  +        unset  i
  +    else
  +        install -d ${DEPLOYDIR}
  +        install -m 644 ${B}/${UBOOT_BINARY}.bup-payload ${DEPLOYDIR}/${UBOOT_IMAGE}.bup-payload
  +        cd ${DEPLOYDIR}
  +        rm -f ${UBOOT_BINARY}.bup-payload ${UBOOT_SYMLINK}.bup-payload
  +        ln -sf ${UBOOT_IMAGE}.bup-payload ${UBOOT_SYMLINK}.bup-payload
  +        ln -sf ${UBOOT_IMAGE}.bup-payload ${UBOOT_BINARY}.bup-payload
  +    fi
  +}
  
positive.code: 			    ${STAGING_BINDIR_NATIVE}/${SOC_FAMILY}-flash/mkbootimg \
  			        --kernel ${B}/${config}/${binary} --ramdisk ${B}/initrd --cmdline "" \
  			        --board "${UBOOT_BOOTIMG_BOARD}" --output $f
  			fi
  		    done
  		    unset k
  
negative.code: 	${STAGING_BINDIR_NATIVE}/${SOC_FAMILY}-flash/mkbootimg \
  	    --kernel ${UBOOT_BINARY}.orig --ramdisk ${B}/initrd --cmdline "" \
  	    --board "${UBOOT_BOOTIMG_BOARD}" --output ${UBOOT_BINARY}
  	uboot_bup_payload ${UBOOT_BINARY}
      fi
  }
  
  