summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/arm
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-10 23:50:10 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-10 23:50:10 +0000
commitc91aeac18be39598edfacbfca27e7016ee52b62e (patch)
tree9bc0ce27a538783c796254e1c7edbb45e3374eac /compiler-rt/lib/arm
parentecf9bf0158835d6be37905a71d50d6a43f071968 (diff)
downloadbcm5719-llvm-c91aeac18be39598edfacbfca27e7016ee52b62e.tar.gz
bcm5719-llvm-c91aeac18be39598edfacbfca27e7016ee52b62e.zip
Stub out structure for building armv{6,7} libs.
llvm-svn: 81482
Diffstat (limited to 'compiler-rt/lib/arm')
-rw-r--r--compiler-rt/lib/arm/Makefile.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/compiler-rt/lib/arm/Makefile.mk b/compiler-rt/lib/arm/Makefile.mk
new file mode 100644
index 00000000000..7f9a9822024
--- /dev/null
+++ b/compiler-rt/lib/arm/Makefile.mk
@@ -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
OpenPOWER on IntegriCloud