summaryrefslogtreecommitdiff
path: root/scripts/mkmakefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-08-22 12:59:11 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-08-29 23:54:29 +0900
commit9c3ad4c14f7a3ac870d660bbc5f9961a8a79f356 (patch)
treef6df23f049a2bdb2070d30730eb312a6dec61994 /scripts/mkmakefile
parentbc7b752a7a1c8498f5c48f5b1b63147e32f649dc (diff)
downloadlwn-9c3ad4c14f7a3ac870d660bbc5f9961a8a79f356.tar.gz
lwn-9c3ad4c14f7a3ac870d660bbc5f9961a8a79f356.zip
kbuild: get rid of $(realpath ...) from scripts/mkmakefile
Both relative path and absolute path have pros and cons. For example, we can move the source and objtree around together by using the relative path to the source tree. Do not force the absolute path to the source tree. If you prefer the absolute path, you can specify KBUILD_ABS_SRCTREE=1. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/mkmakefile')
-rwxr-xr-xscripts/mkmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/mkmakefile b/scripts/mkmakefile
index 4d0faebb1719..1cb174751429 100755
--- a/scripts/mkmakefile
+++ b/scripts/mkmakefile
@@ -12,6 +12,6 @@ if [ "${quiet}" != "silent_" ]; then
fi
cat << EOF > Makefile
-# Automatically generated by $(realpath $0): don't edit
-include $(realpath $1/Makefile)
+# Automatically generated by $0: don't edit
+include $1/Makefile
EOF