]> git.ipfire.org Git - people/arne_f/kernel.git/commit
kbuild: skip sub-make for in-tree build with GNU Make 4.x
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 19 Mar 2019 04:02:36 +0000 (13:02 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 5 Apr 2019 20:34:54 +0000 (22:34 +0200)
commite73f145543fa6e1ce0b7a9d99c65caa1b422aac9
tree89f1957018395922359366dd28aae00447ae3eff
parentd972d1c0d76da4a04ea9c0a35a3fb853fb141248
kbuild: skip sub-make for in-tree build with GNU Make 4.x

commit 688931a5ad4e55ba0c215248ba510cd67bc3afb4 upstream.

Commit 2b50f7ab6368 ("kbuild: add workaround for Debian make-kpkg")
annoyed people who want to wrap the top Makefile with GNUmakefile
to customize it for their use.

On second thought, we do not need to run the sub-make for in-tree
build with Make 4.x because the 'MAKEFLAGS += -rR' issue only happens
on GNU Make 3.x.

With this commit, people will get back their workflow, and the Debian
make-kpkg will still work.

Fixes: 2b50f7ab6368 ("kbuild: add workaround for Debian make-kpkg")
Reported-by: Andreas Schwab <schwab@suse.de>
Reported-by: David Howells <dhowells@redhat.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Tested-by: Andreas Schwab <schwab@suse.de>
Tested-by: David Howells <dhowells@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Makefile