[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220422090505.551472-1-ldewangan@nvidia.com>
Date: Fri, 22 Apr 2022 14:35:05 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: <masahiroy@...nel.org>, <michal.lkml@...kovi.net>,
<ndesaulniers@...gle.com>
CC: <linux-kbuild@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
"Laxman Dewangan" <ldewangan@...dia.com>
Subject: [PATCH V1 1/1] scripts/Kbuild: Add path of fixeddep script
Add path of the fixdep script from the object tree.
This will make the path of script absolute rather than
relative and execute the command from makefile from any
location.
Signed-off-by: Laxman Dewangan <ldewangan@...dia.com>
---
scripts/Kbuild.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index cdec22088423e..e07e9265829f8 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -147,7 +147,7 @@ if_changed_dep = $(if $(if-changed-cond),$(cmd_and_fixdep),@:)
cmd_and_fixdep = \
$(cmd); \
- scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).cmd;\
+ $(objtree)/scripts/basic/fixdep $(depfile) $@ '$(make-cmd)' > $(dot-target).cmd;\
rm -f $(depfile)
# Usage: $(call if_changed_rule,foo)
--
2.17.1
Powered by blists - more mailing lists