]> git.baikalelectronics.ru Git - 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)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 21 Mar 2019 01:03:11 +0000 (10:03 +0900)
commite5f1c45c8ff0336558b3cab8900f3627008faee5
treeeb9f74942f5107a0a19ca328139ca10be2718751
parent0f532c794e1b1e7004b1736ef037006db8b7e2e4
kbuild: skip sub-make for in-tree build with GNU Make 4.x

Commit 8cca5d9b1640 ("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: 8cca5d9b1640 ("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>
Makefile