]> git.ipfire.org Git - thirdparty/kmod.git/commit - tools/kmod-depmod.c
kmod-depmod: initial code (no files generated, untested)
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>
Thu, 22 Dec 2011 22:23:11 +0000 (20:23 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Tue, 27 Dec 2011 14:09:16 +0000 (12:09 -0200)
commit64b8b586ebcc8bea7085a0a44548dff327f4dff2
tree08ab8eac051c9b058ea0343ddca2d359d2bf7f15
parent9190c8cda8015f0d6bb9ee84ccb853e8fb4568fd
kmod-depmod: initial code (no files generated, untested)

this is the initial code for depmod, it should:
 * use configuration from /run/depmod.d, /etc/depmod.d, /lib/depmod.d
 * respect overrides and searches
 * resolve symbols and dependencies
 * break circular dependencies (dependency loops)
 * --errsyms: print out modules with unresolved symbols and incorrect crc
 * --symbol-prefix: respect architecture symbol prefix

it will not:
 * --quick: does not do quick mode
 * --warn: does not warn on duplicates
 * --filesyms: does not load symbols from map file
 * --symvers: does not load symbol versions from map file
 * dump files: does not dump any files at the moment.

it is highly untested, then I appreciate your help with real world
scenarios using overrides and searches. To get output run with -vvvvvv.

next version should fill in the gaps and at least generate the files
Makefile.am
tools/.gitignore
tools/kmod-depmod.c [new file with mode: 0644]