anchor.diff:  	rm -f ${DEPLOYDIR}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_SYMLINK}
   	ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
   	ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
  +
  +	# deploy ELF binary
  +	if [ -n "${UBOOT_ELF}" ]; then
  +		install ${S}/${UBOOT_ELF} ${DEPLOYDIR}/${UBOOT_ELF_IMAGE}
  +		ln -sf ${UBOOT_ELF_IMAGE} ${DEPLOYDIR}/${UBOOT_ELF_BINARY}
  +		ln -sf ${UBOOT_ELF_IMAGE} ${DEPLOYDIR}/${UBOOT_ELF_SYMLINK}
  +	fi
   
   	# deploy SPL
   	if [ -n "${SPL_BINARY}" ]; then
  
positive.code: 	fi
  }
  
  FILES_${PN} += "/boot"
  FILES_${PN}-dbg += "/boot/.debug"
  
  
negative.code: UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
  UBOOT_SYMLINK ?= "u-boot-${MACHINE}.${UBOOT_SUFFIX}"
  UBOOT_MAKE_TARGET ?= "all"
  
  # Output the ELF generated. Some platforms can use the ELF file and directly
  # load it (JTAG booting, QEMU) additionally the ELF can be used for debugging
  # purposes.
  UBOOT_ELF ?= "u-boot"
  UBOOT_ELF_SUFFIX ?= "elf"
  UBOOT_ELF_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.${UBOOT_ELF_SUFFIX}"
  UBOOT_ELF_BINARY ?= "u-boot.${UBOOT_ELF_SUFFIX}"
  UBOOT_ELF_SYMLINK ?= "u-boot-${MACHINE}.${UBOOT_ELF_SUFFIX}"
  
  # Some versions of u-boot build an SPL (Second Program Loader) image that
  # should be packaged along with the u-boot binary as well as placed in the
  