Search notes:

scripts/mod/modpost

scripts/mod/modpost is used for example to create .vmlinux.export.c and Module.symvers with the following command:
scripts/mod/modpost -o Module.symvers -T modules.order vmlinux.o

Usage

As per source code (modpost.c), the usage is:
modpost vmlinux module1.o module2.o …
I am not sure if this usage is still correct.
In addition, it seems that the utility also understands the options e, i, m, n, o, a, T, t, u, w, W, E, N and d.

Index