wok annotate busybox/stuff/busybox-1.17.3-depmod.u @ rev 7159

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