kbuild: split adjust_autoksyms.sh in two parts
authorQuentin Perret <qperret@google.com>
Fri, 28 Feb 2020 17:20:14 +0000 (17:20 +0000)
committerMasahiro Yamada <masahiroy@kernel.org>
Tue, 3 Mar 2020 11:49:21 +0000 (20:49 +0900)
commitcd195bc4775a5c07620bbb6fc19c4fa254b62b19
tree54fb8b6d09fb93c226d76e88cf6538e10c1e58dc
parent1518c633df78185f5cbd7322b52ef06358febac3
kbuild: split adjust_autoksyms.sh in two parts

In order to prepare the ground for a build-time optimization, split
adjust_autoksyms.sh into two scripts: one that generates autoksyms.h
based on all currently available information (whitelist, and .mod
files), and the other to inspect the diff between two versions of
autoksyms.h and trigger appropriate rebuilds.

Acked-by: Nicolas Pitre <nico@fluxnic.net>
Tested-by: Matthias Maennich <maennich@google.com>
Reviewed-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/adjust_autoksyms.sh
scripts/gen_autoksyms.sh [new file with mode: 0755]