diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-01-18 06:48:56 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-01-18 06:48:56 +0000 |
commit | 78cfbc57c62949e16fa7b4a69775aa6450343a00 (patch) | |
tree | 9bb559ed49496b0e7a13bed4b060ce989cbf97b9 /Makefile | |
parent | 6260e4a3af0d4cd136e7976feb3465489da59141 (diff) |
Add 'SelectFunctionDir' function, to select appropriate function implementation based on a configuration and architecture.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@93717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 20 |
1 files changed, 5 insertions, 15 deletions
@@ -239,22 +239,12 @@ $(foreach config,$(Configs), \ $(foreach arch,$(Archs), \ $(eval $(call Final_CNA_template,$(config),$(arch))))) +### + +include make/lib_info.mk +include make/lib_util.mk + ifneq ($(DEBUGMAKE),) $(info MAKE: Done processing Makefile) $(info ) endif - -### -# Function Information -# -# FIXME: Factor out. - -AvailableObjects := $(sort $(foreach key,$(SubDirKeys),\ - $($(key).ObjNames))) -AvailableFunctions := $(AvailableObjects:%.o=%) - -# Compute lists of where each function is available. -$(foreach key,$(SubDirKeys),\ - $(foreach fn,$(subst .o,,$($(key).ObjNames)),\ - $(call Append,AvailableIn.$(fn),$(key)))) - |