summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gdb/linux/Makefile')
-rw-r--r--scripts/gdb/linux/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gdb/linux/Makefile b/scripts/gdb/linux/Makefile
index 8b00031f5349..ab3cfe727a4e 100644
--- a/scripts/gdb/linux/Makefile
+++ b/scripts/gdb/linux/Makefile
@@ -1,6 +1,6 @@
always := gdb-scripts
-SRCTREE := $(shell cd $(srctree) && /bin/pwd)
+SRCTREE := $(abspath $(srctree))
$(obj)/gdb-scripts:
ifneq ($(KBUILD_SRC),)