浏览代码

ignore filenames that can cause problems for the recursive dependency handling

SVN-Revision: 8171
Felix Fietkau 18 年之前
父节点
当前提交
109f15b54c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/depends.mk

+ 2 - 2
include/depends.mk

@@ -11,9 +11,9 @@
 #	3: tempfile for file listings
 #	4: find options
 
-DEP_FINDPARAMS := -type f -not -name ".*" -and -not -path "*.svn*" 
+DEP_FINDPARAMS := -type f -not -name ".*" -and -not -path "*.svn*" -type f -not -name ".*" -and -not -path "*.svn*" -and -not -path "*:*" -and -not -path "*!*" -and -not -path "* *" -and -not -path "*\\\#*"
 define rdep
-  $(foreach file,$(shell find $(1) $(DEP_FINDPARAMS) -and -not -path "*:*" $(4)),
+  $(foreach file,$(shell find $(1) $(DEP_FINDPARAMS) $(4)),
     $(2): $(file)
     $(file): ;
   )