[oe-commits] Chris Larson : genromfs: add recipes, version 0.5.2 and git

git version control git at git.openembedded.org
Tue Oct 26 22:39:36 UTC 2010


Module: openembedded.git
Branch: master
Commit: 203bc975c0b1454d6cfc12b8310e3d18776b93ce
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=203bc975c0b1454d6cfc12b8310e3d18776b93ce

Author: Chris Larson <chris_larson at mentor.com>
Date:   Tue Oct 26 13:29:38 2010 -0700

genromfs: add recipes, version 0.5.2 and git

Also mark myself as the maintainer of this.

Signed-off-by: Chris Larson <chris_larson at mentor.com>

---

 MAINTAINERS                        |    2 +-
 recipes/genromfs/genromfs.inc      |   22 ++++++++++++++++++++++
 recipes/genromfs/genromfs_0.5.2.bb |    7 +++++++
 recipes/genromfs/genromfs_git.bb   |    8 ++++++++
 4 files changed, 38 insertions(+), 1 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 3b45cdd..e7ec4ee 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -37,7 +37,7 @@ Machines:   simpad
 Person:     Christopher Larson
 Mail:       clarson at kergoth.com
 Recipes:    autoconf, automake, libtool, gnu-config
-Recipes:    autotools*.bbclass, gzip, lzip, ed
+Recipes:    autotools*.bbclass, gzip, lzip, ed, genromfs
 
 Person:     Cliff Brake
 Mail:       cbrake at bec-systems.com
diff --git a/recipes/genromfs/genromfs.inc b/recipes/genromfs/genromfs.inc
new file mode 100644
index 0000000..3f76514
--- /dev/null
+++ b/recipes/genromfs/genromfs.inc
@@ -0,0 +1,22 @@
+DESCRIPTION = "genromfs generates romfs filesystem images"
+HOMEPAGE = "http://jf.koan19.org/dev/romfs/"
+LICENSE = "GPLv2+"
+INC_PR = "0"
+
+EXTRA_OEMAKE = '\
+    "CC=${CC}" \
+    "LDFLAGS=${LDFLAGS}" \
+    "prefix=${prefix}" \
+    "bindir=${bindir}" \
+    "mandir=${mandir}" \
+'
+
+do_compile () {
+    oe_runmake 'CFLAGS=${CFLAGS} -DVERSION=\"$(VERSION)\"'
+}
+
+do_install () {
+    oe_runmake 'PREFIX=${D}' install
+}
+
+BBCLASSEXTEND += "native nativesdk"
diff --git a/recipes/genromfs/genromfs_0.5.2.bb b/recipes/genromfs/genromfs_0.5.2.bb
new file mode 100644
index 0000000..77df775
--- /dev/null
+++ b/recipes/genromfs/genromfs_0.5.2.bb
@@ -0,0 +1,7 @@
+require genromfs.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/romfs/genromfs-0.5.2.tar.gz"
+SRC_URI[md5sum] = "2a91463c56f9e042edc330c063a0cf5a"
+SRC_URI[sha256sum] = "30f37fc734572c1dbaa2504585bc23ba6b8fd7df767ae7155995b2ca0ebed960"
diff --git a/recipes/genromfs/genromfs_git.bb b/recipes/genromfs/genromfs_git.bb
new file mode 100644
index 0000000..3d342f5
--- /dev/null
+++ b/recipes/genromfs/genromfs_git.bb
@@ -0,0 +1,8 @@
+require genromfs.inc
+
+SRCREV = "3b02d7a"
+PV = "0.0+git${SRCREV}"
+PR = "${INC_PR}.0"
+
+SRC_URI = "git://github.com/chexum/genromfs;protocol=git;branch=master"
+S = "${WORKDIR}/git"





More information about the Openembedded-commits mailing list