aboutsummaryrefslogtreecommitdiff
path: root/examples/depmod.pl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* depmod.pl: output correct dep format according to kernel versionSonic Zhang2011-09-091-1/+1
| | | | | | | | All kernel version except for 2.4 has the same dep output format. (Possibly related to era of kernels 3.0+) Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* depmod.pl: add recursive sanity checkMike Frysinger2010-11-161-0/+3
| | | | | | | | If modules contain circular dependencies, the depmod script will follow the circle forever. So add a simple sanity check to abort rather than chew up the CPU. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* depmod.pl: recurse through module dependenciesMike Frysinger2009-07-091-10/+21
| | | | | | | | The previous fix up loaded dependencies two deep, but really that was an incomplete fix as we need to load dependencies all the way down. So change the code to run recursively through all dependencies. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* depmod.pl: updates and fixes galoreMike Frysinger2009-05-051-9/+56
| | | | | | | | | The helper script needs updating to match latest busybox modprobe behavior in that all dependencies need to be listed, not just the immediate ones. Along the way, fix symbol prefixed ports, optimize the output, and add some more depmod compatible options. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* exported symbols may be weak, so allow symbols marked as WMike Frysinger2007-11-181-1/+1
|
* add support for --symbol-prefix/-PMike Frysinger2007-07-131-13/+16
|
* whitespace cleanupDenis Vlasenko2006-09-171-3/+3
|
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-1/+1
|
* remove cvs $Id tagMike Frysinger2006-06-071-3/+0
|
* Patch from Atsushi Nemoto:Rob Landley2006-06-021-2/+3
| | | | | | This patch make depmod.pl more robust in cross environment.  If native nm did not recognize target's object, you can override it with NM environment variable.
* fix spelling mistakesMike Frysinger2006-05-261-3/+3
|
* Patch from Stuart Hughes upgrading depmod.plRob Landley2006-03-211-102/+156
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-9/+9
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-141-2/+2
|
* Fixed the script. It always put output to 'stdout' and never to"Steven J. Hill"2002-10-081-18/+28
| | | | the 'modules.dep' file.
* This depmod script will create a modules.dep file, just like the depmodEric Andersen2001-07-301-0/+227
binary from modutils. This one, however, can be run on the _host_ system (need not be run on the target) and is fully cross platform, so even if your target is ARM or powerpc or whatever, this will still work. When used to support the new modprobe applet, this allows busybox to fully supplant modutils for architectures supported by busybox insmod. -Erik