Teach the autoconf machinery about the PS4 triple.

(I think the last checkin, r227060, got lost from the mailing lists because of the (R) in the comment.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227090 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alex Rosenberg 2015-01-26 15:25:05 +00:00
parent 536bce219d
commit 83a0a62a52
2 changed files with 4 additions and 0 deletions

2
autoconf/config.sub vendored
View File

@ -1489,6 +1489,8 @@ case $os in
;;
-nacl*)
;;
-ps4)
;;
-none)
;;
*)

View File

@ -369,6 +369,8 @@ AC_CACHE_CHECK([type of operating system we're going to target],
llvm_cv_target_os_type="NativeClient" ;;
*-unknown-eabi*)
llvm_cv_target_os_type="Freestanding" ;;
*-*-ps4)
llvm_cv_target_os_type="PS4" ;;
*)
llvm_cv_target_os_type="Unknown" ;;
esac])