[openwrt/openwrt] quilt.mk: use CURDIR instead of ./ for PATCH_DIR and FILES_DIR

LEDE Commits lede-commits at lists.infradead.org
Wed May 22 03:24:58 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/61c50bd2ce4e1027544361291b789921cbe96166

commit 61c50bd2ce4e1027544361291b789921cbe96166
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Mon Sep 25 02:26:43 2023 +0200

    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 at gmail.com>
    (cherry picked from commit bb1bfb46020b38179ef97d30333c90ab00b71c97)
---
 include/quilt.mk | 4 ++--
 1 file 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)
 




More information about the lede-commits mailing list