From 83a0a62a52c92987b514d2867ffe4f13f33d045c Mon Sep 17 00:00:00 2001 From: Alex Rosenberg Date: Mon, 26 Jan 2015 15:25:05 +0000 Subject: [PATCH] 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 --- autoconf/config.sub | 2 ++ autoconf/configure.ac | 2 ++ 2 files changed, 4 insertions(+) diff --git a/autoconf/config.sub b/autoconf/config.sub index 673d62bfbf5..01956e9a1e9 100755 --- a/autoconf/config.sub +++ b/autoconf/config.sub @@ -1489,6 +1489,8 @@ case $os in ;; -nacl*) ;; + -ps4) + ;; -none) ;; *) diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 7f7fcf8bb03..0cdd1474cb8 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -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])