kbuild: create/adjust generated/autoksyms.h
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 27 Jan 2016 02:50:18 +0000 (21:50 -0500)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Tue, 29 Mar 2016 20:30:57 +0000 (16:30 -0400)
commit23121ca2b56b583c43512e4d7a926343be937714
tree19b0d865046cd3163046aa52124947c0e89d1c2f
parentc1a95fda2a40ae8c7aad3fa44fa7718a3710eb2d
kbuild: create/adjust generated/autoksyms.h

Given the list of exported symbols needed by all modules, we can create
a header file containing preprocessor defines for each of those symbols.
Also, when some symbols are added and/or removed from the list, we can
update the time on the corresponding files used as build dependencies for
those symbols. And finally, if any symbol did change state, the
corresponding source files must be rebuilt.

The insertion or removal of an EXPORT_SYMBOL() entry within a module may
create or remove the need for another exported symbol.  This is why this
operation has to be repeated until the list of needed exported symbols
becomes stable. Only then the final kernel and modules link take place.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Makefile
scripts/adjust_autoksyms.sh [new file with mode: 0755]
This page took 0.024207 seconds and 5 git commands to generate.