diff mbox series

[RFC,3/3] build: change $(srctree) to empty for current directory

Message ID 93f26945aa19bc9f6226d8660fabc91d568fa83e.1708478592.git.ehem+linux@m5p.com (mailing list archive)
State New
Headers show
Series Adding trailing slash to $(srctree) | expand

Commit Message

Elliott Mitchell Feb. 20, 2024, 5:13 p.m. UTC
Split out to highlight the actual changes.  This would break things if
done in the first commit, so do this as the final step.

Signed-off-by: Elliott Mitchell <ehem+linux@m5p.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 3eef5c56f863..edb5d3fceb30 100644
--- a/Makefile
+++ b/Makefile
@@ -246,7 +246,7 @@  else # need-sub-make
 
 ifeq ($(abs_srctree),$(abs_objtree))
         # building in the source tree
-        srctree := ./
+        srctree :=
 	building_out_of_srctree :=
 else
         ifeq ($(abs_srctree)/,$(dir $(abs_objtree)))