fix compile errors by forcing bash to be used as a shell in all submake processes
[openwrt.git] / include / depends.mk
index b488af9..828ceb8 100644 (file)
@@ -11,9 +11,9 @@
 #      3: tempfile for file listings
 #      4: find options
 
-DEP_FINDPARAMS := -x "*.svn*" -x ".*" -x "*.svn*" -x "*:*" -x "*\!*" -x "* *" -x "*\\\#*" -x "*/.*_check"
+DEP_FINDPARAMS := -x "*/.svn*" -x ".*" -x "*:*" -x "*\!*" -x "* *" -x "*\\\#*" -x "*/.*_check"
 
-find_md5=find $(1) -type f $(patsubst -x,-and -not -path,$(DEP_FINDPARAMS) $(2)) | md5s
+find_md5=$(SH_FUNC) find $(1) -type f $(patsubst -x,-and -not -path,$(DEP_FINDPARAMS) $(2)) | md5s
 
 define rdep
   .PRECIOUS: $(2)
@@ -28,7 +28,7 @@ define rdep
                ) \
                { \
                        [ -f "$(2)_check.1" ] && mv "$(2)_check.1"; \
-                   $(SCRIPT_DIR)/timestamp.pl $(DEP_FINDPARAMS) $(4) -n $(2) $(1) && { \
+                   $(TOPDIR)/scripts/timestamp.pl $(DEP_FINDPARAMS) $(4) -n $(2) $(1) && { \
                                $(call debug_eval,$(SUBDIR),r,echo "No need to rebuild $(2)";) \
                                touch -r "$(2)" "$(2)_check"; \
                        } \
This page took 0.034271 seconds and 4 git commands to generate.