]> git.saurik.com Git - apple/libc.git/blame - xcodescripts/abort_unsupported.sh
Libc-1244.1.7.tar.gz
[apple/libc.git] / xcodescripts / abort_unsupported.sh
CommitLineData
5f125488
A
1#!/bin/bash
2
3for platform in ${SUPPORTED_PLATFORMS} ; do
4 [[ "${platform}" == "${PLATFORM_NAME}" ]] && exit 0
5done
6
7echo "Unsupported platform encountered:" >&2
8echo " PLATFORM_NAME: ${PLATFORM_NAME}" >&2
9echo " SUPPORTED_PLATFORMS: ${SUPPORTED_PLATFORMS}" >&2
10echo "Please contact the Darwin Runtime Team for help with your new platform bringup needs" >&2
11exit 1