From: Masahiro Yamada Date: Thu, 22 Aug 2019 03:59:11 +0000 (+0900) Subject: kbuild: get rid of $(realpath ...) from scripts/mkmakefile X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9c3ad4c14f7a3ac870d660bbc5f9961a8a79f356;p=linux.git 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 --- diff --git a/scripts/mkmakefile b/scripts/mkmakefile index 4d0faebb17199..1cb1747514291 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