瀏覽代碼

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 <[email protected]>
Masahiro Yamada 5 年之前
父節點
當前提交
9c3ad4c14f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      scripts/mkmakefile

+ 2 - 2
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