wok-next view busybox/stuff/busybox-1.17.0-depmod.u @ rev 5776
busybox: update patches
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 20:55:53 2010 +0200 (2010-07-07) |
parents | |
children |
line source
1 Accept and ignore: --unresolved-error, --quiet, --config somefile
2 --- busybox-1.17.0/modutils/depmod.c
3 +++ busybox-1.17.0/modutils/depmod.c
4 @@ -35,7 +35,10 @@
5 ARG_e = (1<<3), /* with -F, print unresolved symbols */
6 ARG_F = (1<<4), /* System.map that contains the symbols */
7 ARG_n = (1<<5), /* dry-run, print to stdout only */
8 - ARG_r = (1<<6) /* Compat dummy. Linux Makefile uses it */
9 + ARG_r = (1<<6), /* Compat dummy. Linux Makefile uses it */
10 + ARG_u = (1<<7), /* unresolved-error: ignored */
11 + ARG_q = (1<<8), /* quiet: ignored */
12 + ARG_C = (1<<9) /* config: ignored */
13 };
15 static int FAST_FUNC parse_module(const char *fname, struct stat *sb UNUSED_PARAM,
16 @@ -143,7 +146,7 @@
17 struct utsname uts;
18 int tmp;
20 - getopt32(argv, "aAb:eF:nr", &moddir_base, NULL);
21 + getopt32(argv, "aAb:eF:nruqC:", &moddir_base, NULL, NULL);
22 argv += optind;
24 /* goto modules location */