OSDN Git Service

kbuild: mkmakefile: do not check the generated Makefile marker
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 30 Mar 2019 12:04:15 +0000 (21:04 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 2 Apr 2019 14:27:38 +0000 (23:27 +0900)
commite07cf4fd7d72546bf46279927b28fe9d74308868
treeae1f831f68d88b96fe28a85019d3b00fe8768bfa
parent25b146c5b8ceecd43c311552d325a4e403c639f2
kbuild: mkmakefile: do not check the generated Makefile marker

This hunk was added to avoid accidental overwrite of the top Makefile
in case O= points to the top of the source tree.

As commit 4f1127e20437 ("kbuild: fix infinite make recursion"),
it caused some troubles in the past because Kbuild assumes O=
as out-of-tree build, while it actually works in the source tree.

Now this works more properly; if O= points to the source directory,
it is handled as in-tree build. So, this sanity check is unneeded.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/mkmakefile