[llvm-commits] [compiler-rt] r81482 - in /compiler-rt/trunk: lib/Makefile.mk lib/arm/ lib/arm/Makefile.mk make/config.mk
Daniel Dunbar
daniel at zuster.org
Thu Sep 10 16:50:10 PDT 2009
Author: ddunbar
Date: Thu Sep 10 18:50:10 2009
New Revision: 81482
URL: http://llvm.org/viewvc/llvm-project?rev=81482&view=rev
Log:
Stub out structure for building armv{6,7} libs.
Added:
compiler-rt/trunk/lib/arm/ (with props)
compiler-rt/trunk/lib/arm/Makefile.mk
Modified:
compiler-rt/trunk/lib/Makefile.mk
compiler-rt/trunk/make/config.mk
Modified: compiler-rt/trunk/lib/Makefile.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/Makefile.mk?rev=81482&r1=81481&r2=81482&view=diff
==============================================================================
--- compiler-rt/trunk/lib/Makefile.mk (original)
+++ compiler-rt/trunk/lib/Makefile.mk Thu Sep 10 18:50:10 2009
@@ -8,7 +8,7 @@
#===------------------------------------------------------------------------===#
Dir := lib
-SubDirs := i386 ppc x86_64
+SubDirs := i386 ppc x86_64 arm
Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
ObjNames := $(Sources:%.c=%.o)
Propchange: compiler-rt/trunk/lib/arm/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Sep 10 18:50:10 2009
@@ -0,0 +1,3 @@
+Debug
+Profile
+Release
Added: compiler-rt/trunk/lib/arm/Makefile.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/arm/Makefile.mk?rev=81482&view=auto
==============================================================================
--- compiler-rt/trunk/lib/arm/Makefile.mk (added)
+++ compiler-rt/trunk/lib/arm/Makefile.mk Thu Sep 10 18:50:10 2009
@@ -0,0 +1,22 @@
+#===- lib/arm/Makefile.mk ----------------------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+Dir := lib/arm
+SubDirs :=
+OnlyArchs := armv6 armv7
+
+AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
+Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
+ObjNames := $(Sources:%.c=%.o) $(AsmSources:%.S=%.o)
+Target := Optimized
+
+# FIXME: use automatic dependencies?
+Dependencies := $(wildcard $(Dir)/*.h)
+
+include make/subdir.mk
Modified: compiler-rt/trunk/make/config.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/config.mk?rev=81482&r1=81481&r2=81482&view=diff
==============================================================================
--- compiler-rt/trunk/make/config.mk (original)
+++ compiler-rt/trunk/make/config.mk Thu Sep 10 18:50:10 2009
@@ -12,7 +12,7 @@
Configs := Debug Release Profile
# The full list of architectures we support.
-Archs := i386 ppc x86_64
+Archs := i386 ppc x86_64 armv6 armv7
# If TargetArch is defined, only build for that architecture (and don't use
# -arch).
More information about the llvm-commits
mailing list