aboutsummaryrefslogtreecommitdiff
path: root/examples/depmod.pl
AgeCommit message (Collapse)Author
2010-11-16depmod.pl: add recursive sanity checkMike Frysinger
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>
2009-07-09depmod.pl: recurse through module dependenciesMike Frysinger
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>
2009-05-05depmod.pl: updates and fixes galoreMike Frysinger
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>
2007-11-18exported symbols may be weak, so allow symbols marked as WMike Frysinger
2007-07-13add support for --symbol-prefix/-PMike Frysinger
2006-09-17whitespace cleanupDenis Vlasenko
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-06-07remove cvs $Id tagMike Frysinger
2006-06-02Patch from Atsushi Nemoto:Rob Landley
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.
2006-05-26fix spelling mistakesMike Frysinger
2006-03-21Patch from Stuart Hughes upgrading depmod.plRob Landley
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2002-10-08Fixed the script. It always put output to 'stdout' and never to"Steven J. Hill"
the 'modules.dep' file.
2001-07-30This depmod script will create a modules.dep file, just like the depmodEric Andersen
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