anchor.diff:  DEPENDS += "bc-native atf-native"
   
   EXTRA_OEMAKE_odroid-c2 = 'V=1 CROSS_COMPILE=${TOOLCHAIN_PREFIX} HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
  -EXTRA_OEMAKE_odroid-c4-hardkernel = 'V=1 HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
  -EXTRA_OEMAKE_odroid-n2-hardkernel = 'V=1 HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
  -EXTRA_OEMAKE_odroid-n2 = 'V=1 HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
  -EXTRA_OEMAKE_odroid-hc4-hardkernel = 'V=1 HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
  +EXTRA_OEMAKE = 'V=1 HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
   
  -LINAROTOOLCHAIN = "4.9.4-2017.01"
  -LINAROTOOLCHAIN_odroid-c4-hardkernel = "4.8-2013.11"
  -LINAROTOOLCHAIN_odroid-n2-hardkernel = "4.8-2013.11"
  -LINAROTOOLCHAIN_odroid-n2 = "4.8-2013.11"
  -LINAROTOOLCHAIN_odroid-hc4-hardkernel = "4.8-2013.11"
  +LINAROTOOLCHAIN_odroid-c2 = "4.9.4-2017.01"
  +LINAROTOOLCHAIN = "4.8-2013.11"
  +
   TOOLCHAIN_PREFIX_odroid-c2 = "aarch64-linux-gnu-"
  -TOOLCHAIN_PREFIX_odroid-c4-hardkernel = "aarch64-linux-gnu-"
  -TOOLCHAIN_PREFIX_odroid-hc4-hardkernel = "aarch64-linux-gnu-"
  +TOOLCHAIN_PREFIX = "aarch64-linux-gnu-"
   HOST_PREFIX_odroid-c2 = "${TOOLCHAIN_PREFIX}"
   
  -PATH_prepend_odroid-c4-hardkernel ="${S}/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux/bin:${S}/gcc-linaro-arm-none-eabi-4.8-2014.04_linux/bin:"
  -PATH_prepend_odroid-n2-hardkernel ="${S}/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux/bin:${S}/gcc-linaro-arm-none-eabi-4.8-2014.04_linux/bin:"
  -PATH_prepend_odroid-n2 ="${S}/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux/bin:${S}/gcc-linaro-arm-none-eabi-4.8-2014.04_linux/bin:"
  -PATH_prepend_odroid-hc4-hardkernel ="${S}/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux/bin:${S}/gcc-linaro-arm-none-eabi-4.8-2014.04_linux/bin:"
  +PATH_prepend ="${S}/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux/bin:${S}/gcc-linaro-arm-none-eabi-4.8-2014.04_linux/bin:"
   PATH_prepend ="${S}/gcc-linaro-${LINAROTOOLCHAIN}-x86_64_aarch64-linux-gnu/bin:"
   
  -do_configure_odroid-c4-hardkernel () {
  +do_configure () {
   	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake mrproper
  -	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake odroidc4_config
  -}
  -
  -do_configure_odroid-hc4-hardkernel () {
  -	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake mrproper
  -	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake odroidc4_config
  -}
  -
  -do_configure_odroid-n2-hardkernel () {
  -	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake mrproper
  -	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake odroidn2_config
  -}
  -
  -do_configure_odroid-n2 () {
  -	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake mrproper
  -	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake odroidn2_config
  +	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake ${UBOOT_MACHINE}
   }
   
   do_configure_append() {
  
positive.code: 	fi
  }
  
  do_compile_odroid-c4-hardkernel () {
  	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake
  }
  
  do_compile_odroid-n2-hardkernel () {
  	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake
  }
  
  do_compile_odroid-n2 () {
  	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake
  }
  
  do_compile_odroid-hc4-hardkernel () {
  	CROSS_COMPILE=aarch64-elf- ARCH=arm CFLAGS="" LDFLAGS="" oe_runmake
  }
  
  
negative.code:            file://0001-makefile-Match-the-bs-and-count-values-with-hardkern.patch \
             file://0001-odroidc2-Enable-s905-on-chip-watchdog.patch \
            "
  SRC_URI = "\
      git://github.com/hardkernel/u-boot.git;branch=${BRANCH} \
      file://boot.ini \
      https://releases.linaro.org/archive/13.11/components/toolchain/binaries/gcc-linaro-aarch64-none-elf-4.8-2013.11_linux.tar.xz;name=aarch64linaro;subdir=git \
      https://releases.linaro.org/archive/14.04/components/toolchain/binaries/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz;name=aarch64linaroelf;subdir=git \
      "
  
  SRC_URI_append_odroid-c4-hardkernel = "\
      file://config.ini \
      "
  
  SRC_URI_append_odroid-hc4-hardkernel = "\
      file://config.ini \
      "
  
  SRC_URI[aarch64toolchain.md5sum] = "631c4c7b1fe9cb115cf51bd6a926acb7"
  