From 319b8006cf53534adc02011bd315e65ed16ea26b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jeremy=20Lain=C3=A9?= Date: Fri, 17 Apr 2009 10:24:41 +0000 Subject: iphone-compat.conf: add mini distro with toolchain for iPhone --- conf/distro/iphone-compat.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 conf/distro/iphone-compat.conf (limited to 'conf/distro') 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" -- cgit v1.2.3