[oe-commits] Jeremy Lainé : odcctools: add cctools for Darwin ( from Poky)

GIT User account git at amethyst.openembedded.net
Thu Apr 16 10:57:49 UTC 2009


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

Author: Jeremy Lainé <jeremy.laine at m4x.org>
Date:   Thu Apr 16 10:54:02 2009 +0000

odcctools: add cctools for Darwin (from Poky)

---

 recipes/odcctools/odcctools-cross-sdk_svn.bb |   22 ++++++++++++++++++++++
 recipes/odcctools/odcctools-cross_svn.bb     |   18 ++++++++++++++++++
 2 files changed, 40 insertions(+), 0 deletions(-)

diff --git a/recipes/odcctools/odcctools-cross-sdk_svn.bb b/recipes/odcctools/odcctools-cross-sdk_svn.bb
new file mode 100644
index 0000000..5c34783
--- /dev/null
+++ b/recipes/odcctools/odcctools-cross-sdk_svn.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "cctools for darwin (SDK)"
+HOMEPAGE = "http://code.google.com/p/iphone-dev"
+DEPENDS = "bison-native"
+PV = "0.0+svn${SRCREV}"
+PR = "r2"
+
+SRCREV="280"
+SRC_URI = "svn://iphone-dev.googlecode.com/svn/branches;proto=http;module=odcctools-9.2-ld"
+
+S = "${WORKDIR}/odcctools-9.2-ld"
+
+inherit autotools sdk
+
+EXTRA_OECONF = "--disable-ld64"
+
+do_install_append () {
+	install -d "${D}${prefix}/${TARGET_SYS}/bin/"
+	for l in ${D}${bindir}/*; do
+		ln -sf "${bindir}/`basename $l`" "${D}${prefix}/${TARGET_SYS}/bin/`basename $l | sed -e 's,${TARGET_PREFIX},,'`"
+	done
+}
+
diff --git a/recipes/odcctools/odcctools-cross_svn.bb b/recipes/odcctools/odcctools-cross_svn.bb
new file mode 100644
index 0000000..142b01f
--- /dev/null
+++ b/recipes/odcctools/odcctools-cross_svn.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "cctools for darwin"
+HOMEPAGE = "http://code.google.com/p/iphone-dev"
+DEPENDS = "cross-linkage bison-native"
+PROVIDES = "virtual/${TARGET_PREFIX}binutils"
+PV = "0.0+svn${SRCREV}"
+PR = "r2"
+
+SRCREV="280"
+SRC_URI = "svn://iphone-dev.googlecode.com/svn/branches;proto=http;module=odcctools-9.2-ld"
+
+S = "${WORKDIR}/odcctools-9.2-ld"
+
+inherit cross autotools
+
+LDFLAGS += "-m32"
+CFLAGS += "-m32"
+EXTRA_OECONF += "--disable-ld64"
+





More information about the Openembedded-commits mailing list