PR = "r2" require u-boot_r2.inc DEFAULT_PREFERENCE = "-1" DEFAULT_PREFERENCE_at91sam9g10ek = "2" DEFAULT_PREFERENCE_at91sam9g20ek = "2" DEFAULT_PREFERENCE_at91sam9g45ek = "2" DEFAULT_PREFERENCE_at91sam9m10ekes = "2" DEFAULT_PREFERENCE_at91sam9m10g45ek = "2" DEFAULT_PREFERENCE_at91sam9g45ek = "2" DEFAULT_PREFERENCE_adb4000 = "2" DEFAULT_PREFERENCE_vulcano-g20 = "2" SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 " SRC_URI_append_at91 = "\ file://at91/0002-Support-running-ATSAM9G45-M10-from-dataflash.patch \ file://at91/0003-Update-SAM9M10-G45-config-for-dataflash-support.patch \ file://at91/0004-Support-selecting-SPI-mode-in-dataflash-driver.patch \ file://at91/0005-mux-replace-verbose-dataflash_mmc_mux-command.patch \ file://at91/0006-libarm-board.c-Gets-overwritten-workaround.patch \ file://at91/0007-fat.c-Add-DEBUG-currently-disabled.patch \ file://at91/0008-env_dataflash.c-More-robust-handling.patch \ file://at91/0009-cmd_debug.c-Add-a-generic-function-for-debug-vars.patch \ file://at91/0010-debug.h-Add-header-for-debug-variables.patch \ file://at91/0011-common-Makefile-Add-cmd_debug.c-to-build.patch \ file://at91/0012-cmd_mci.c-Support-writing-out-AT91-mci-config.patch \ file://at91/0013-atmel_dataflash.c-Status-printout-depend-on-DEBUG.patch \ file://at91/0014-AT91-MCI-Add-support-for-SD-Card.patch \ file://at91/0015-sam9m10g45ek-Add-configuration-file.patch \ file://at91/0016-SupportEnv-load-from-SD-Card.patch \ file://0017-SD-Card-boot-patch-for-SAM9M10-G45.patch \ file://0018-ADD-AT91-Build-script.patch \ " SRC_URI_append_adb4000 = "\ file://at91/100-icnova.patch \ " SRC_URI_append_vulcano-g20 = "\ file://at91/0002-Support-running-ATSAM9G45-M10-from-dataflash.patch \ file://at91/0003-Update-SAM9M10-G45-config-for-dataflash-support.patch \ file://at91/0004-Support-selecting-SPI-mode-in-dataflash-driver.patch \ file://at91/0005-mux-replace-verbose-dataflash_mmc_mux-command.patch \ file://at91/0006-libarm-board.c-Gets-overwritten-workaround.patch \ file://at91/0007-fat.c-Add-DEBUG-currently-disabled.patch \ file://at91/0008-env_dataflash.c-More-robust-handling.patch \ file://at91/0009-cmd_debug.c-Add-a-generic-function-for-debug-vars.patch \ file://at91/0010-debug.h-Add-header-for-debug-variables.patch \ file://at91/0011-common-Makefile-Add-cmd_debug.c-to-build.patch \ file://at91/0012-cmd_mci.c-Support-writing-out-AT91-mci-config.patch \ file://at91/0013-atmel_dataflash.c-Status-printout-depend-on-DEBUG.patch \ file://at91/0014-AT91-MCI-Add-support-for-SD-Card.patch \ file://at91/0015-sam9m10g45ek-Add-configuration-file.patch \ file://at91/0016-SupportEnv-load-from-SD-Card.patch \ file://at91/0017-SD-Card-boot-patch-for-SAM9M10-G45.patch \ file://at91/0018-ADD-AT91-Build-script.patch \ file://at91/vG20/0001-u-boot-Add-new-board-VulcanoG20-into-Makefile.patch \ file://at91/vG20/0002-u-boot-Add-VulcanoG20-board-support.patch \ file://at91/vG20/0003-u-boot-Add-dataflash-page-size-power-2-support.patch \ " TARGET_LDFLAGS = "" inherit base do_compile () { if ! [ "x${UBOOT_MACHINES}" == "x" ] ; then for board in ${UBOOT_MACHINES} ; do if ! [ `grep ${board}_config Makefile | wc -c` == 0 ] ; then mkdir -p binaries/${board} oe_runmake O=binaries/${board} distclean oe_runmake O=binaries/${board} ${board}_config oe_runmake O=binaries/${board} all fi done else oe_runmake ${UBOOT_MACHINE} oe_runmake all fi } SRC_URI[md5sum] = "d94700614225f53c853dfe714eb5fa47" SRC_URI[sha256sum] = "066615314fc90a314823ac975ca2a525a51fdad41802f4088a3a21ce073e8de6"