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