]> git.baikalelectronics.ru Git - kernel.git/commit
docs: bump minimal GNU Make version to 3.81
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 6 May 2017 15:39:17 +0000 (00:39 +0900)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 May 2017 17:56:27 +0000 (10:56 -0700)
commite04612f1d9b208e335cf82f9f408c817dec3baea
treebfe5413397d69cfe02ddd686ced063896df9188a
parent4be6378a4dd22e68e2d80529a9a34609658d7eac
docs: bump minimal GNU Make version to 3.81

Since 2014, you can't successfully build kernels with GNU Make version
3.80. Example errors:

  $ git describe
  v4.11
  $ make --version | head -1
  GNU Make 3.80
  $ make defconfig
    HOSTCC  scripts/basic/fixdep
  scripts/Makefile.host:135: *** missing separator.  Stop.
  make: *** [defconfig] Error 2
  $ make ARCH=arm64 help
  arch/arm64/Makefile:43: *** unterminated call to function `warning': missing `)'.  Stop.
  $ make help >/dev/null
  ./Documentation/Makefile.sphinx:25: Extraneous text after `else' directive
  ./Documentation/Makefile.sphinx:31: *** only one `else' per conditional.  Stop.
  make: *** [help] Error 2

The first breakage was introduced by commit 59b8f7b28e98 ("kbuild:
handle multi-objs dependency appropriately").  Since then (i.e. v3.18),
GNU Make 3.80 has not been able to compile the kernel, but nobody has
ever complained aboutt (or noticed) it.

Even GNU Make 3.81 is more than 10 years old.  It would not hurt to
match the documentation with reality instead of fixing makefiles.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/process/changes.rst