diff options
-rw-r--r-- | compiler-rt/lib/builtins/Makefile.mk | 2 | ||||
-rw-r--r-- | compiler-rt/lib/builtins/armv6m/Makefile.mk | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/compiler-rt/lib/builtins/Makefile.mk b/compiler-rt/lib/builtins/Makefile.mk index 3143d91f070..4dbadd0bf20 100644 --- a/compiler-rt/lib/builtins/Makefile.mk +++ b/compiler-rt/lib/builtins/Makefile.mk @@ -11,7 +11,7 @@ ModuleName := builtins SubDirs := # Add arch specific optimized implementations. -SubDirs += i386 ppc x86_64 arm +SubDirs += i386 ppc x86_64 arm armv6m # Define the variables for this specific directory. Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file))) diff --git a/compiler-rt/lib/builtins/armv6m/Makefile.mk b/compiler-rt/lib/builtins/armv6m/Makefile.mk new file mode 100644 index 00000000000..f3c1807f01b --- /dev/null +++ b/compiler-rt/lib/builtins/armv6m/Makefile.mk @@ -0,0 +1,20 @@ +#===- lib/builtins/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. +# +#===------------------------------------------------------------------------===# + +ModuleName := builtins +SubDirs := +OnlyArchs := armv6m + +AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file))) +Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file))) +ObjNames := $(Sources:%.c=%.o) $(AsmSources:%.S=%.o) +Implementation := Optimized + +# FIXME: use automatic dependencies? +Dependencies := $(wildcard lib/*.h $(Dir)/*.h) |