summaryrefslogtreecommitdiff
path: root/conf/distro
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2009-04-17 10:24:41 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2009-04-17 10:24:41 +0000
commit319b8006cf53534adc02011bd315e65ed16ea26b (patch)
tree033029fdb2ec44939e528146757a564dd1f9cc1b /conf/distro
parent5d90e1e748839b19a260ca65c0f90183091a8b95 (diff)
iphone-compat.conf: add mini distro with toolchain for iPhone
Diffstat (limited to 'conf/distro')
-rw-r--r--conf/distro/iphone-compat.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/conf/distro/iphone-compat.conf b/conf/distro/iphone-compat.conf
new file mode 100644
index 0000000000..a3bccef25d
--- /dev/null
+++ b/conf/distro/iphone-compat.conf
@@ -0,0 +1,19 @@
+require conf/distro/minimal.conf
+
+DISTRO_NAME = "iphone-compat"
+
+TARGET_OS = "darwin9"
+TARGET_VENDOR = "-apple"
+
+export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}${layout_libdir} -Wl,-L${STAGING_DIR_TARGET}${layout_libdir}"
+
+# Compiler selection
+PREFERRED_PROVIDER_linux-libc-headers = "iphone-sdks"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}libc-for-gcc = "iphone-rootfs"
+PREFERRED_PROVIDER_virtual/libc = "iphone-rootfs"
+PREFERRED_PROVIDER_virtual/libiconv = "iphone-rootfs"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils = "odcctools-cross"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-initial = "gcc-iphone-cross"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc-intermediate = "gcc-iphone-cross"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}gcc = "gcc-iphone-cross"
+PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}g++ = "gcc-iphone-cross"