wok-current view busybox/stuff/busybox-1.17.1-depmod.u @ rev 6596

Up python-numpy (1.5.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 09 21:02:07 2010 +0200 (2010-10-09)
parents b5f4ef5d86ec
children
line source
1 Accept and ignore: --unresolved-error, --quiet, --config somefile
2 --- busybox-1.17.1/modutils/depmod.c
3 +++ busybox-1.17.1/modutils/depmod.c
4 @@ -144,6 +144,8 @@
5 * Print to stdout all the symbols each module depends on
6 * and the module's file name which provides that symbol.
7 * -r No-op
8 + * -u No-op
9 + * -q No-op
10 *
11 * So far we only support: [-rn] [-b BASE] [VERSION] [MODFILES]...
12 * -aAeF are accepted but ignored. -vC are not accepted.
13 @@ -155,7 +157,10 @@
14 //OPT_e = (1 << 3), /* with -F, print unresolved symbols */
15 //OPT_F = (1 << 4), /* System.map that contains the symbols */
16 OPT_n = (1 << 5), /* dry-run, print to stdout only */
17 - OPT_r = (1 << 6) /* Compat dummy. Linux Makefile uses it */
18 + OPT_r = (1 << 6), /* Compat dummy. Linux Makefile uses it */
19 + OPT_u = (1 << 7), /* unresolved-error: ignored */
20 + OPT_q = (1 << 8), /* quiet: ignored */
21 + OPT_C = (1 << 9) /* config: ignored */
22 };
24 int depmod_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
25 @@ -167,7 +172,7 @@
26 struct utsname uts;
27 int tmp;
29 - getopt32(argv, "aAb:eF:nr", &moddir_base, NULL);
30 + getopt32(argv, "aAb:eF:nruqC:", &moddir_base, NULL, NULL);
31 argv += optind;
33 /* goto modules location */