wok diff busybox/stuff/busybox-1.17.0-depmod.u @ rev 5877

busybox: disable mkfs.ext2, no journal support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 20 20:13:15 2010 +0200 (2010-07-20)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/busybox/stuff/busybox-1.17.0-depmod.u	Tue Jul 20 20:13:15 2010 +0200
     1.3 @@ -0,0 +1,25 @@
     1.4 +Accept and ignore: --unresolved-error, --quiet, --config somefile
     1.5 +--- busybox-1.17.0/modutils/depmod.c
     1.6 ++++ busybox-1.17.0/modutils/depmod.c
     1.7 +@@ -35,7 +35,10 @@
     1.8 + 	ARG_e = (1<<3), /* with -F, print unresolved symbols */
     1.9 + 	ARG_F = (1<<4), /* System.map that contains the symbols */
    1.10 + 	ARG_n = (1<<5), /* dry-run, print to stdout only */
    1.11 +-	ARG_r = (1<<6)  /* Compat dummy. Linux Makefile uses it */
    1.12 ++	ARG_r = (1<<6), /* Compat dummy. Linux Makefile uses it */
    1.13 ++	ARG_u = (1<<7), /* unresolved-error: ignored */
    1.14 ++	ARG_q = (1<<8), /* quiet: ignored */
    1.15 ++	ARG_C = (1<<9)  /* config: ignored */
    1.16 + };
    1.17 + 
    1.18 + static int FAST_FUNC parse_module(const char *fname, struct stat *sb UNUSED_PARAM,
    1.19 +@@ -143,7 +146,7 @@
    1.20 + 	struct utsname uts;
    1.21 + 	int tmp;
    1.22 + 
    1.23 +-	getopt32(argv, "aAb:eF:nr", &moddir_base, NULL);
    1.24 ++	getopt32(argv, "aAb:eF:nruqC:", &moddir_base, NULL, NULL);
    1.25 + 	argv += optind;
    1.26 + 
    1.27 + 	/* goto modules location */
    1.28 +