summaryrefslogtreecommitdiff
path: root/recipes/iphone/gcc-iphone-cross_git.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-04-17 12:40:36 +0200
committerKoen Kooi <koen@openembedded.org>2009-04-17 12:40:36 +0200
commit4debb8b0f8c22f63f2b8decbb78df59f8637be1a (patch)
tree2006067927d4fd0e1ef7b212165c23dac79bc415 /recipes/iphone/gcc-iphone-cross_git.bb
parent989f05cdca1a7333b2005ef42abe7b351d89e959 (diff)
parent319b8006cf53534adc02011bd315e65ed16ea26b (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/iphone/gcc-iphone-cross_git.bb')
-rw-r--r--recipes/iphone/gcc-iphone-cross_git.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/iphone/gcc-iphone-cross_git.bb b/recipes/iphone/gcc-iphone-cross_git.bb
new file mode 100644
index 0000000000..ea351cf0bf
--- /dev/null
+++ b/recipes/iphone/gcc-iphone-cross_git.bb
@@ -0,0 +1,34 @@
+DESCRIPTION = "GCC for iPhone"
+DEPENDS = "iphone-sdks"
+PV = "4.2.1+git${SRCREV}"
+
+INHIBIT_DEFAULT_DEPS = "1"
+
+PROVIDES = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}g++"
+PROVIDES += "virtual/${TARGET_PREFIX}gcc-initial virtual/${TARGET_PREFIX}gcc-intermediate"
+DEPENDS = "virtual/${TARGET_PREFIX}binutils bison-native flex-native iphone-rootfs"
+
+SRCREV = "b3dd8400196ccb63fbf10fe036f9f8725b2f0a39"
+SRC_URI = "git://git.saurik.com/llvm-gcc-4.2.git;protocol=git"
+
+S = "${WORKDIR}/git"
+
+inherit autotools cross
+
+EXTRA_OECONF = "\
+ --enable-languages=c,c++,objc,obj-c++ \
+ --enable-sjlj-exceptions \
+ --enable-wchar_t=no \
+ --with-gxx-include-dir=${STAGING_DIR_TARGET}/${layout_includedir}/c++ \
+ --with-as=${CROSS_DIR}/bin/${TARGET_PREFIX}as \
+ --with-ld=${CROSS_DIR}/bin/${TARGET_PREFIX}ld \
+ --with-sysroot=${STAGING_DIR_TARGET} \
+ --with-build-sysroot=${STAGING_DIR_TARGET} \
+ --with-local-prefix=${STAGING_DIR_TARGET}${layout_prefix} \
+ "
+
+do_configure() {
+ oe_runconf
+ rm -f GNUmakefile
+}
+