docs: bump minimal GNU Make version to 3.82
Subsystems (3)
PATCH 1/1 docs: bump minimal GNU Make version to 3.82
GNU Make 3.81 fails in CONFIG_RUST=y builds.
rust/Makefile:105: *** multiple target patterns. Stop. make[1]: *** [prepare] Error 2
make: *** [__sub-make] Error 2
The error message looks weird, but the reason is that the 'private' keyword is only supported since GNU Make 3.82.
GNU Make 3.81 is still able to build the kernel if CONFIG_RUST is disabled, but it might be a good timing to bump the minimal GNU Make version. Perhaps, I am the last person who was testing GNU Make 3.81.
GNU Make 3.81 was released in 2006, GNU Make 3.82 in 2010.
---
Documentation/process/changes.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/process/changes.rst +2 -2
@@ -31,7 +31,7 @@ you probably needn't concern yourself with pcmciautils. ====================== =============== ======================================== GNU C 5.1 gcc --version Clang/LLVM (optional) 11.0.0 clang --version -GNU make 3.81 make --version +GNU make 3.82 make --version bash 4.2 bash --version binutils 2.23 ld -v flex 2.5.35 flex --version
@@ -83,7 +83,7 @@ docs on :ref:`Building Linux with Clang/LLVM <kbuild_llvm>`. Make ---- -You will need GNU make 3.81 or later to build the kernel. +You will need GNU make 3.82 or later to build the kernel. Bash ----
Signature · 1 line
2.34.1
Quoted 3 lines · Masahiro Yamada
The error message looks weird, but the reason is that the 'private' keyword is only supported since GNU Make 3.82.
Sorry about that. Indeed, it was added in 3.82 [1,2]. Given GCC 5.1 (the current minimum) was released 5 years later, I guess it is OK to increase it.
[1] https://git.savannah.gnu.org/cgit/make.git/commit/?id=5b4d419476e9fbda8ea26017f6ec15956d103ed9
[2] https://git.savannah.gnu.org/cgit/make.git/tree/ChangeLog?h=3.82#n814
Cheers,
Miguel
Quoted 10 lines · Miguel Ojeda
Quoted 3 lines · Masahiro Yamada
The error message looks weird, but the reason is that the 'private' keyword is only supported since GNU Make 3.82.
Sorry about that. Indeed, it was added in 3.82 [1,2]. Given GCC 5.1 (the current minimum) was released 5 years later, I guess it is OK to increase it.
Quoted 7 lines
Reviewed-by Miguel Ojeda <[email protected]>[1] https://git.savannah.gnu.org/cgit/make.git/commit/?id=5b4d419476e9fbda8ea26017f6ec15956d103ed9
[2] https://git.savannah.gnu.org/cgit/make.git/tree/ChangeLog?h=3.82#n814Cheers,
Miguel
Applied to linux-kbuild.
Signature · 2 lines
Best Regards Masahiro Yamada