Add support for "platform" configurations, which define a suite of compiler-rt
libraries to generate.
 - Each library may be built with different flags and for different
   architectures, and there is support for building Darwin style fat archives.

 - Uses an ambituous amount of make programming, but should be hidden to
   users and developers.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93720 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/make/config.mk b/make/config.mk
index 5dfc74c..d96b1b4 100644
--- a/make/config.mk
+++ b/make/config.mk
@@ -11,16 +11,9 @@
 ###
 # Tool configuration variables.
 
-CC := gcc
 # FIXME: LLVM uses autoconf/mkinstalldirs ?
 MKDIR := mkdir -p
 DATE := date
-AR := ar
-# FIXME: Remove these pipes once ranlib errors are fixed.
-AR.Flags := cru 2> /dev/null
-RANLIB := ranlib
-# FIXME: Remove these pipes once ranlib errors are fixed.
-RANLIB.Flags := 2> /dev/null
 LIPO := lipo
 CP := cp
 
@@ -38,9 +31,6 @@
 endif
 
 Echo := @echo
-Archive := $(AR) $(AR.Flags)
-Ranlib := $(RANLIB) $(RANLIB.Flags)
-Lipo := $(LIPO)
 ifndef Summary
-	Summary = $(Echo)
+  Summary = $(Echo)
 endif