Masahiro Yamada 083bc0e1ce kbuild: fix mismatch between .version and include/generated/compile.h
Since commit 56d589361572 ("kbuild: do not create orphan built-in.a or
obj-y objects"), scripts/link-vmlinux.sh does nothing when descending
into init/.

Once the version number becomes out of sync between .version and
include/generated/compile.h, it is not self-healing.

[How to reproduce]

 $ echo 100 > .version
 $ make

You will see the number in the .version is always bigger than that in
compile.h by one. After this, every time you run 'make', the vmlinux is
re-linked even when none of source files is updated.

Fixes: 56d589361572 ("kbuild: do not create orphan built-in.a or obj-y objects")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2020-02-11 05:18:40 +09:00
..
2020-02-04 03:05:24 +00:00
2017-03-28 16:16:52 +02:00
2019-12-09 11:48:21 -08:00
2020-02-01 10:01:52 -08:00
2017-11-14 18:25:40 -08:00
2019-05-06 11:12:09 -07:00
2020-02-05 10:33:44 -07:00
2014-08-20 16:03:45 +02:00