quilt.mk: use CURDIR instead of ./ for PATCH_DIR and FILES_DIR
authorChristian Marangi <ansuelsmth@gmail.com>
Mon, 25 Sep 2023 00:26:43 +0000 (02:26 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Tue, 4 Jun 2024 15:53:29 +0000 (11:53 -0400)
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)

include/quilt.mk

index 18cafe60a280bb1fccce96bb9bfff9954d284cb5..140d3905283f5a40b96b3e50ab24d7ca4797126c 100644 (file)
@@ -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)