Skip to content

Commit 46d9456

Browse files
committed
Remove duplicate definition.
1 parent 6e6798c commit 46d9456

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mk/llvm.mk

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
ifdef CFG_ENABLE_FAST_MAKE
33
LLVM_DEPS := $(S)/.gitmodules
44
else
5-
# Recursive wildcard function
6-
# http://blog.jgc.org/2011/07/gnu-make-recursive-wildcard-function.html
7-
rwildcard=$(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) \
8-
$(filter $(subst *,%,$2),$d))
95

106
# This is just a rough approximation of LLVM deps
117
LLVM_DEPS=$(call rwildcard,$(CFG_LLVM_SRC_DIR),*cpp *hpp)
@@ -25,4 +21,4 @@ endif
2521
endef
2622

2723
$(foreach target,$(CFG_TARGET_TRIPLES), \
28-
$(eval $(call DEF_LLVM_RULES,$(target))))
24+
$(eval $(call DEF_LLVM_RULES,$(target))))

0 commit comments

Comments
 (0)