diff options
author | Jesse Gilles <jgilles@multitech.com> | 2013-02-13 11:23:51 -0600 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2013-02-13 11:23:51 -0600 |
commit | d354a230fb5ec512ca8f7b89ffc2e8679945eade (patch) | |
tree | 201109e314a4d4bf3c60f21ad0d6460659cf0655 /multitech/recipes/at91bootstrap/at91bootstrap_3.5.inc | |
parent | c4f1a399934177d3e174203a12ea23496f4b409a (diff) |
at91bootstrap: add 3.5.2 for mtocgd3
Diffstat (limited to 'multitech/recipes/at91bootstrap/at91bootstrap_3.5.inc')
-rw-r--r-- | multitech/recipes/at91bootstrap/at91bootstrap_3.5.inc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/multitech/recipes/at91bootstrap/at91bootstrap_3.5.inc b/multitech/recipes/at91bootstrap/at91bootstrap_3.5.inc new file mode 100644 index 0000000..ac147c0 --- /dev/null +++ b/multitech/recipes/at91bootstrap/at91bootstrap_3.5.inc @@ -0,0 +1,27 @@ +DESCRIPTION = "at91bootstrap: loaded into internal SRAM by AT91 BootROM" +SECTION = "bootloaders" + +PARALLEL_MAKE = "" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} DESTDIR=${DEPLOY_DIR_IMAGE} REVISION=${PR}" + +do_compile () { + unset LDFLAGS + unset CFLAGS + unset CPPFLAGS + + rm -Rf ${S}/binaries + for board in ${AT91BOOTSTRAP_BOARD} ; do + oe_runmake mrproper + filename=`find board -name ${board}_defconfig` + if ! [ "x$filename" == "x" ] ; then + cp $filename .config + oe_runmake + oe_runmake install + else + echo "${board} could not be built" + exit 1 + fi + done +} |