Remove duplicate definition.

This commit is contained in:
Graydon Hoare 2012-03-26 18:36:48 -07:00
parent 6e6798c4e1
commit 46d9456610

View File

@ -2,10 +2,6 @@
ifdef CFG_ENABLE_FAST_MAKE
LLVM_DEPS := $(S)/.gitmodules
else
# Recursive wildcard function
# http://blog.jgc.org/2011/07/gnu-make-recursive-wildcard-function.html
rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) \
$(filter $(subst *,%,$2),$d))
# This is just a rough approximation of LLVM deps
LLVM_DEPS=$(call rwildcard,$(CFG_LLVM_SRC_DIR),*cpp *hpp)
@ -25,4 +21,4 @@ endif
endef
$(foreach target,$(CFG_TARGET_TRIPLES), \
$(eval $(call DEF_LLVM_RULES,$(target))))
$(eval $(call DEF_LLVM_RULES,$(target))))