diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-03-13 20:35:21 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2009-04-06 10:42:42 +0200 |
commit | 82f0e66ef890ef247af932524f66f5c63fedc5d2 (patch) | |
tree | 649d9f999adc408070fdda13df9458d8d92a729b /recipes/at91bootstrap/at91bootstrap_2.10.bb | |
parent | b42626ddd44ce9f0062ada19c894e759934011c9 (diff) |
Add recipe for at91bootstrap-2.10
Diffstat (limited to 'recipes/at91bootstrap/at91bootstrap_2.10.bb')
-rw-r--r-- | recipes/at91bootstrap/at91bootstrap_2.10.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/at91bootstrap/at91bootstrap_2.10.bb b/recipes/at91bootstrap/at91bootstrap_2.10.bb new file mode 100644 index 0000000000..a652f1b155 --- /dev/null +++ b/recipes/at91bootstrap/at91bootstrap_2.10.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "at91bootstrap: loaded into internal SRAM by AT91 BootROM" +SECTION = "bootloaders" + +SRC_URI = "ftp://www.at91.com/pub/buildroot/${PN}-${PV}.tar.bz2 \ + file://defconfig \ + " + +AT91BOOTSTRAP_FLAGS ?= "" + +S = "${WORKDIR}/${PN}-${PV}" + +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 + cp ${S}/../defconfig ${S}/.config + oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" + oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" boot + oe_runmake AT91_CUSTOM_FLAGS="${AT91BOOTSTRAP_FLAGS}" install +} + |