[oe-commits] Steve Sakoman : x-load: Add recipe to build from sakoman. com x-load repository

git version control git at git.openembedded.org
Tue Oct 12 14:33:42 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: e4fd90fc53243e330e0cfbae6d1b17f5639f7baa
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e4fd90fc53243e330e0cfbae6d1b17f5639f7baa

Author: Steve Sakoman <steve at sakoman.com>
Date:   Sat Sep 11 21:19:56 2010 -0700

x-load: Add recipe to build from sakoman.com x-load repository

Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 recipes/x-load/x-load-sakoman_git.bb |   15 +++++++++++++++
 recipes/x-load/x-load.inc            |    3 ++-
 2 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/recipes/x-load/x-load-sakoman_git.bb b/recipes/x-load/x-load-sakoman_git.bb
new file mode 100644
index 0000000..b2c0e92
--- /dev/null
+++ b/recipes/x-load/x-load-sakoman_git.bb
@@ -0,0 +1,15 @@
+require x-load.inc
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/x-load-sakoman-git/${MACHINE}"
+
+PV = "1.44ss+${PR}+gitr${SRCREV}"
+
+SRCREV = ${AUTOREV}
+SRC_URI = "git://www.sakoman.com/git/x-loader.git;branch=master;protocol=git"
+
+SRCREV_omap4430-sdp = ${AUTOREV}
+SRC_URI_omap4430-sdp = "git://dev.omapzoom.org/pub/scm/bootloader/x-loader.git;branch=omap4_dev;protocol=git"
+
+S = "${WORKDIR}/git"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes/x-load/x-load.inc b/recipes/x-load/x-load.inc
index 0699c01..553ef58 100644
--- a/recipes/x-load/x-load.inc
+++ b/recipes/x-load/x-load.inc
@@ -18,6 +18,7 @@ XLOAD_USB_SYMLINK ?= "x-load-usb-${MACHINE}.bin"
 MLO_IMAGE ?= "MLO-${MACHINE}-${PV}-${PR}"
 MLO_SYMLINK ?= "MLO-${MACHINE}"
 MLO_SYMLINK_NOMACHINE ?= "MLO"
+XLOAD_LOAD_ADDRESS ?= 0x40200800
 
 do_compile () {
 	unset LDFLAGS
@@ -29,7 +30,7 @@ do_compile () {
 }
 
 do_install () {
-	signGP ${S}/x-load.bin
+	signGP ${S}/x-load.bin ${XLOAD_LOAD_ADDRESS}
 
 	install -d ${D}/boot
 	install ${S}/x-load.bin.ift ${D}/boot/${MLO_IMAGE}





More information about the Openembedded-commits mailing list