[oe-commits] Ulf Samuelsson : Move at91bootstrap.inc to at91bootstrap-old.inc

git version control git at git.openembedded.org
Tue Aug 11 17:25:07 UTC 2009


Module: openembedded.git
Branch: ulf/linux-2.6.30.2
Commit: 77f4606f5c547342bd829cc27808b7d251892968
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=77f4606f5c547342bd829cc27808b7d251892968

Author: Ulf Samuelsson <ulf.samuelsson at atmel.com>
Date:   Tue Aug 11 19:24:34 2009 +0200

Move at91bootstrap.inc to at91bootstrap-old.inc

---

 recipes/at91bootstrap/at91bootstrap-old.inc |   21 +++++++++++++++++++++
 recipes/at91bootstrap/at91bootstrap_2.10.bb |    2 +-
 recipes/at91bootstrap/at91bootstrap_2.11.bb |    2 +-
 3 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/recipes/at91bootstrap/at91bootstrap-old.inc b/recipes/at91bootstrap/at91bootstrap-old.inc
new file mode 100644
index 0000000..2160f64
--- /dev/null
+++ b/recipes/at91bootstrap/at91bootstrap-old.inc
@@ -0,0 +1,21 @@
+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 \
+           "
+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
+}
diff --git a/recipes/at91bootstrap/at91bootstrap_2.10.bb b/recipes/at91bootstrap/at91bootstrap_2.10.bb
index a68d8ef..754d9a6 100644
--- a/recipes/at91bootstrap/at91bootstrap_2.10.bb
+++ b/recipes/at91bootstrap/at91bootstrap_2.10.bb
@@ -1,2 +1,2 @@
 PR = "r1"
-require at91bootstrap.inc
+require at91bootstrap-old.inc
diff --git a/recipes/at91bootstrap/at91bootstrap_2.11.bb b/recipes/at91bootstrap/at91bootstrap_2.11.bb
index 730f0c7..ec831a8 100644
--- a/recipes/at91bootstrap/at91bootstrap_2.11.bb
+++ b/recipes/at91bootstrap/at91bootstrap_2.11.bb
@@ -1,4 +1,4 @@
-require at91bootstrap.inc
+require at91bootstrap-old.inc
 PR = "r0"
 DEFAULT_PREFERENCE = "-1"
 DEFAULT_PREFERENCE_afeb9260 = "1"





More information about the Openembedded-commits mailing list