aboutsummaryrefslogtreecommitdiff
path: root/modutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* destroy bug 679, use getopt_ulflags with new feature: usage option. Removed ↵vodz2006-02-021-54/+39
| | | | | | two strdup git-svn-id: svn://busybox.net/trunk/busybox@13797 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make the build system puuuuuuuuuuurtyvapier2006-02-021-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hopefully the last of the annoying signed/unsigned and mixed type errorsandersen2006-01-301-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13733 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-254-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shared libbusybox.aldot2006-01-151-0/+5
| | | | | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something.. git-svn-id: svn://busybox.net/trunk/busybox@13346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* import nios2 support from microtronixvapier2006-01-041-0/+171
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13062 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just use bb_xfopen()vapier2006-01-031-4/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13060 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I screwed up the last commit: if dt is null when ENABLE_MULTIPLE_OPTIONS islandley2005-12-161-6/+8
| | | | | | | off, we'd dereference the null. Oops. git-svn-id: svn://busybox.net/trunk/busybox@12922 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Better use of the ENABLE guards.landley2005-12-151-7/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12892 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove warning (thanks Yann E. MORIN) and switch to ENABLE_aldot2005-12-141-15/+15
| | | | | | | - typo: s/begining/beginning/g git-svn-id: svn://busybox.net/trunk/busybox@12881 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor fix: if(CONFIG) breaks the build when that CONFIG is disabled, it haslandley2005-12-131-1/+1
| | | | | | | to be if(ENABLE). (Make allbareconfig is a good testing thing.) git-svn-id: svn://busybox.net/trunk/busybox@12849 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann E. Morin, something to do with bugs 276 and 272.landley2005-12-121-232/+273
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12848 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change CONFIG_MODPROBE_MULTIPOLE_OPTIONS tolandley2005-12-121-11/+11
| | | | | | | CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS. git-svn-id: svn://busybox.net/trunk/busybox@12840 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann E. Morin to reorganize module config options.landley2005-12-111-36/+43
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12839 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make insmod quiet by default (patch from Yann E. Morin).landley2005-12-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12838 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann E. Morin to make rmmod report failure properly.landley2005-12-111-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12836 69ca8d6d-28ef-0310-b511-8ec308f3f277
* uClibc can't handle anonymous MAP_SHARED. Since we're treating it aslandley2005-12-071-1/+1
| | | | | | | read only data anyway, MAP_PRIVATE shouldn't make a major difference. git-svn-id: svn://busybox.net/trunk/busybox@12711 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use libbb/get_kernel_revision(), reduce stack usage, add loses -w -f option ↵vodz2005-11-281-60/+48
| | | | | | for getopt, convert to bb_getopt_ulflags(), reduce memory usage - xmalloc to bb_common_bufsiz1, size reduce over 200 bytes git-svn-id: svn://busybox.net/trunk/busybox@12551 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Cristian Ionescu-Idbohrn to deal with _ vs - better.landley2005-11-271-1/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12546 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yann Morin's modprobe multiple options patch. There's more work to be done,landley2005-11-152-22/+186
| | | | | | | but let's ship 1.1 first... git-svn-id: svn://busybox.net/trunk/busybox@12236 69ca8d6d-28ef-0310-b511-8ec308f3f277
* another more constvodz2005-10-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11897 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove debug warningvapier2005-10-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11728 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reorder arches into alphabetical ordervapier2005-10-021-198/+201
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11727 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fixup whitespacevapier2005-10-021-14/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11726 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove all Elf32 hardcodes to make sure the elf handling is 64bit cleanvapier2005-10-021-47/+53
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11725 69ca8d6d-28ef-0310-b511-8ec308f3f277
* svdavidson writes in Bug 459: add support for x86_64 relocations from ↵vapier2005-10-021-1/+72
| | | | | | modutils 2.4.27 git-svn-id: svn://busybox.net/trunk/busybox@11724 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change interface to bb_xasprintf() - more perfect for me.vodz2005-09-291-2/+2
| | | | | | | ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers reduce 100 bytes don't care in sum git-svn-id: svn://busybox.net/trunk/busybox@11694 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use the shorter license headervapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use brief license linevapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11618 69ca8d6d-28ef-0310-b511-8ec308f3f277
* initial ppc64 supportvapier2005-09-141-1/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11453 69ca8d6d-28ef-0310-b511-8ec308f3f277
* applying jim bauer's patch to eliminate modprobe's dependencypgf2005-08-041-13/+51
| | | | | | | | on /bin/sh. bug #8. 0000008: modprobe applet is dependent on having a shell git-svn-id: svn://busybox.net/trunk/busybox@11043 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use toplevel ARFLAGS and update default ARFLAGS to be quietvapier2005-07-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10923 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tweak the "pretty lsmod for 2.6" patch to be seperately selectable.landley2005-05-042-5/+14
| | | | | | | Patch from Takeharu Kato. git-svn-id: svn://busybox.net/trunk/busybox@10248 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Takeharu Kato's patch added 2.6 support to lsmod; this changes menuconfiglandley2005-05-041-7/+7
| | | | | | | | dependencies so 2.6 support depends on insmod or lsmod... git-svn-id: svn://busybox.net/trunk/busybox@10244 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Takeharu Kato said:landley2005-05-031-1/+42
| | | | | | | | | | I found that lsmod in busybox does not support linux-2.6. I fix this issue(it is caused by changes of /proc/modules format). If you use lsmod in busybox with kernel-2.6, please use this patch. git-svn-id: svn://busybox.net/trunk/busybox@10243 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Bernhard Fischer to make a bunch of symbols staticandersen2005-04-161-1/+1
| | | | | | | which were otherwise cluttering the global namespace. git-svn-id: svn://busybox.net/trunk/busybox@10121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Corrected the list of section names in add_ksymoops_symbols() sopkj2005-03-301-2/+2
| | | | | | | that the bss and sbss sections can be correctly identified. git-svn-id: svn://busybox.net/trunk/busybox@10062 69ca8d6d-28ef-0310-b511-8ec308f3f277
* amd64 is rela, not relvapier2005-03-301-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* alpha/parisc supportvapier2004-12-261-2/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9620 69ca8d6d-28ef-0310-b511-8ec308f3f277
* egor duda writes:andersen2004-10-082-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor git-svn-id: svn://busybox.net/trunk/busybox@9320 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Egor Dudabug12004-09-241-0/+5
| | | | | | | | | | | | | | | | Attached patch prevents modprobe from trying to call 'insmod (null)' whenever nonexistent module is either passed to modprobe via command line or mentioned in modules.dep this replaces cryptic error sh: Syntax error: word unexpected (expecting ")") with modprobe: module some-module not found. egor. git-svn-id: svn://busybox.net/trunk/busybox@9276 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Based on patches from Mike Frysinger, add insmod support forandersen2004-09-021-74/+82
| | | | | | | | | | | | sparc and ia64 (itanium). Also, reorganize the insmod architecture support code to be alphasorted and less messy. Update the readme to list current insmod arch support. git-svn-id: svn://busybox.net/trunk/busybox@9197 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup some warningsandersen2004-08-281-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9180 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Rodney Radford adding x86_64 support.andersen2004-08-191-3/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Mike Castle to cleanup some modutils issues, inandersen2004-08-191-59/+33
| | | | | | | particular making alias support work better. git-svn-id: svn://busybox.net/trunk/busybox@9130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Only pass modprobe module params with 2.6.x kernel support.andersen2004-08-161-2/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@9103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Christian Ostheimer writes:andersen2004-08-141-1/+1
| | | | | | | | | | | | | | Hello, function build_dep in modprobe.c assumes that dependencies of one module have not more than 255 chars; that is not sufficient in kernel 2.6.7 (alsa sound modules). - Below is a diff that solves the problem for me. With regards, Christian Ostheimer git-svn-id: svn://busybox.net/trunk/busybox@9093 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Mike Castle, dont print an empty line (patch modified by me tobug12004-08-111-9/+13
| | | | | | | change formatting). git-svn-id: svn://busybox.net/trunk/busybox@9086 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Phil Blundellto improve substring matchbug12004-08-111-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@9083 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Willian Barsse wrotebug12004-08-111-8/+7
| | | | | | | | | | | | | | | | | | | | "There seems to be a slight problem with the "mod_strcmp" function in modprobe.c, it scans for the first occurence of the module name in the "mod_path" variable and expects it to be the last path element. ie /lib/modules/2.4.22-debug/kernel/fs/vfat in my example. The comparison will always fail if mod_path contains another substring matching the module name." Robert McQueen wrote "Although William Barsse's patch fixed mod_strcmp for 2.4 kernels, there was a remaining problem which prevented it from working for me. I've just tracked it down - when you enable kernel 2.6 module support it hard-wired the extension to .ko instead of checking at runtime like the other places where 2.4 differs from 2.6. The attached patch fixes this for me." git-svn-id: svn://busybox.net/trunk/busybox@9082 69ca8d6d-28ef-0310-b511-8ec308f3f277