anchor.diff:  	unset i
       else
           mv ${UBOOT_BINARY} ${UBOOT_BINARY}.orig
  -	${STAGING_BINDIR_NATIVE}/tegra186-flash/mkbootimg \
  +	${STAGING_BINDIR_NATIVE}/${SOC_FAMILY}-flash/mkbootimg \
   	    --kernel ${UBOOT_BINARY}.orig --ramdisk ${B}/initrd --cmdline "" \
  -	    --board "/dev/mmbclk0p12" --output ${UBOOT_BINARY}
  +	    --board "${UBOOT_BOOTIMG_BOARD}" --output ${UBOOT_BINARY}
       fi
   }
  +
  +do_compile_append() {
  +    uboot_make_bootimg
  +}
  
positive.code: 		        if [ $k -eq $i ]; then
  		            f="${B}/${config}/u-boot-${type}.${UBOOT_SUFFIX}"
  		            rm -f $f
  			    ${STAGING_BINDIR_NATIVE}/tegra186-flash/mkbootimg \
  			        --kernel ${B}/${config}/${binary} --ramdisk ${B}/initrd --cmdline "" \
  			        --board "/dev/mmcblk0p1" --output $f
  			fi
  		    done
  		    unset k
  
negative.code: LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
  
  PROVIDES += "u-boot"
  DEPENDS += "dtc-native ${SOC_FAMILY}-flashtools-native"
  
  UBOOT_TEGRA_REPO ?= "github.com/madisongh/u-boot-tegra.git"
  SRCBRANCH ?= "patches-l4t-r28.1"
  