diff options
-rw-r--r-- | classes/java.bbclass | 2 | ||||
-rw-r--r-- | classes/siteinfo.bbclass | 1 | ||||
-rw-r--r-- | recipes/odcctools/odcctools-cross-sdk_svn.bb | 22 | ||||
-rw-r--r-- | recipes/odcctools/odcctools-cross_svn.bb | 18 |
4 files changed, 42 insertions, 1 deletions
diff --git a/classes/java.bbclass b/classes/java.bbclass index 38256d7798..cacd2ce525 100644 --- a/classes/java.bbclass +++ b/classes/java.bbclass @@ -72,7 +72,7 @@ oe_jarinstall() { oewarn "file was in the way. removing:" $dir/$1 rm $dir/$1 fi - ln -s $destname $dir/$1 + ln -sf $destname $dir/$1 shift done } diff --git a/classes/siteinfo.bbclass b/classes/siteinfo.bbclass index 55ab371af3..82a1616d05 100644 --- a/classes/siteinfo.bbclass +++ b/classes/siteinfo.bbclass @@ -26,6 +26,7 @@ def get_siteinfo_list(d): "armeb-linux-uclibc": "endian-big bit-32 common-linux common-uclibc arm-common",\ "armeb-linux-uclibcgnueabi": "endian-big bit-32 common-linux common-uclibc arm-common armeb-linux-uclibc",\ "arm-darwin": "endian-little bit-32 common-darwin",\ + "arm-darwin9": "endian-little bit-32 common-darwin",\ "arm-linux": "endian-little bit-32 common-linux common-glibc arm-common",\ "arm-linux-gnueabi": "endian-little bit-32 common-linux common-glibc arm-common arm-linux",\ "arm-linux-uclibc": "endian-little bit-32 common-linux common-uclibc arm-common",\ diff --git a/recipes/odcctools/odcctools-cross-sdk_svn.bb b/recipes/odcctools/odcctools-cross-sdk_svn.bb new file mode 100644 index 0000000000..5c34783490 --- /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 0000000000..142b01f4b8 --- /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" + |