Skip to content
Snippets Groups Projects
Commit 9c3ad4c1 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent bc7b752a
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment