]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4eadc69b5249e022041f2839e7ebbb23bd5639a
tree54fb8b6d09fb93c226d76e88cf6538e10c1e58dc
parent6e65ec924bb61213f777e02d39537e44920ee53c
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]