提交 9c3ad4c1 编写于 作者: M Masahiro Yamada

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: NMasahiro Yamada <yamada.masahiro@socionext.com>
上级 bc7b752a
...@@ -12,6 +12,6 @@ if [ "${quiet}" != "silent_" ]; then ...@@ -12,6 +12,6 @@ if [ "${quiet}" != "silent_" ]; then
fi fi
cat << EOF > Makefile cat << EOF > Makefile
# Automatically generated by $(realpath $0): don't edit # Automatically generated by $0: don't edit
include $(realpath $1/Makefile) include $1/Makefile
EOF EOF
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册