summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi2023-09-25 00:26:43 +0000
committerChristian Marangi2024-05-22 10:24:41 +0000
commit61c50bd2ce4e1027544361291b789921cbe96166 (patch)
treef614d9c52a10542ffa08a4d4da215eac02a2efe7
parentaa77c796fec90e3e328c5b33d9239bd4910f1e9a (diff)
downloadopenwrt-61c50bd2ce4e1027544361291b789921cbe96166.tar.gz
quilt.mk: use CURDIR instead of ./ for PATCH_DIR and FILES_DIR
To better reference them for diagnostic use, reference the PATCH_DIR and FILES_DIR with the absolute path instead of using ./ and reference by the relative location. No behaviour change intended. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit bb1bfb46020b38179ef97d30333c90ab00b71c97)
-rw-r--r--include/quilt.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/quilt.mk b/include/quilt.mk
index 18cafe60a2..140d390528 100644
--- a/include/quilt.mk
+++ b/include/quilt.mk
@@ -34,8 +34,8 @@ endif
ifneq ($(if $(DUMP),1,$(__quilt_inc)),1)
__quilt_inc:=1
-PATCH_DIR?=./patches
-FILES_DIR?=./files
+PATCH_DIR?=$(CURDIR)/patches
+FILES_DIR?=$(CURDIR)/files
HOST_PATCH_DIR?=$(PATCH_DIR)
HOST_FILES_DIR?=$(FILES_DIR)