diff options
| author | Masahiro Yamada <masahiroy@kernel.org> | 2020-02-10 23:06:34 +0300 |
|---|---|---|
| committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-02-10 23:18:40 +0300 |
| commit | 083bc0e1ce91e2a65a1aecdf8d2c5045e5d46c55 (patch) | |
| tree | 27745cf76844b8ad2873162c0a4ece0ef057bbeb /scripts/bpf_helpers_doc.py | |
| parent | 9d1b38958b077f6c8d4bd196a115b643d7bd6717 (diff) | |
| download | linux-083bc0e1ce91e2a65a1aecdf8d2c5045e5d46c55.tar.xz | |
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>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions
