[meta-freescale] [meta-fsl-arm-extra][PATCH 1/4] barebox: add a recipe to support mainline 2013.08.0
Alexandre Belloni
alexandre.belloni at free-electrons.com
Thu Aug 22 07:51:14 PDT 2013
Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
---
recipes-bsp/barebox/barebox_2013.08.0.bb | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
create mode 100644 recipes-bsp/barebox/barebox_2013.08.0.bb
diff --git a/recipes-bsp/barebox/barebox_2013.08.0.bb b/recipes-bsp/barebox/barebox_2013.08.0.bb
new file mode 100644
index 0000000..2f6118b
--- /dev/null
+++ b/recipes-bsp/barebox/barebox_2013.08.0.bb
@@ -0,0 +1,26 @@
+require recipes-bsp/barebox/barebox.inc
+
+PR = "r1"
+
+SRC_URI = "http://barebox.org/download/${PN}-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "a61b97a2fedebc808d4b182c2ca18a0c"
+SRC_URI[sha256sum] = "d9e46dd3c68b04ab4cbc37135dc34907dbebef393da4b3e54abb203c295c1620"
+
+python () {
+ if not d.getVar("BAREBOX_MACHINE", True):
+ PN = d.getVar("PN", True)
+ FILE = os.path.basename(d.getVar("FILE", True))
+ bb.debug(1, "To build %s, see %s for instructions on \
+ setting up your machine config" % (PN, FILE))
+ raise bb.parse.SkipPackage("BAREBOX_MACHINE is not set in the %s machine configuration." % d.getVar("MACHINE", True))
+}
+
+do_pre_configure() {
+ oe_runmake ${BAREBOX_MACHINE}
+}
+
+do_env_deploy() {
+}
+
+COMPATIBLE_MACHINE = "cfa10036"
--
1.8.1.2
More information about the meta-freescale
mailing list