Stub out structure for building armv{6,7} libs.

llvm-svn: 81482
This commit is contained in:
Daniel Dunbar 2009-09-10 23:50:10 +00:00
parent ecf9bf0158
commit c91aeac18b
3 changed files with 24 additions and 2 deletions

View File

@ -8,7 +8,7 @@
#===------------------------------------------------------------------------===# #===------------------------------------------------------------------------===#
Dir := lib Dir := lib
SubDirs := i386 ppc x86_64 SubDirs := i386 ppc x86_64 arm
Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file))) Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
ObjNames := $(Sources:%.c=%.o) ObjNames := $(Sources:%.c=%.o)

View File

@ -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

View File

@ -12,7 +12,7 @@ ProjObjRoot := $(ProjSrcRoot)
Configs := Debug Release Profile Configs := Debug Release Profile
# The full list of architectures we support. # 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 # If TargetArch is defined, only build for that architecture (and don't use
# -arch). # -arch).