X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/40aa2d8b06a03e4779cf728c4575c301f389eb72..3f72b573db6e77d623acb3ce1d10880b322ad241:/include/depends.mk

diff --git a/include/depends.mk b/include/depends.mk
index b488af927..4c31eb398 100644
--- a/include/depends.mk
+++ b/include/depends.mk
@@ -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"; \
 			} \