wok-stable diff busybox/stuff/busybox-1.17.3-depmod.u @ rev 7327

Enabled devtmpfs support in kernel. Also enabled APM to help reboot some systems.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 18 19:15:28 2010 +0000 (2010-11-18)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/busybox/stuff/busybox-1.17.3-depmod.u	Thu Nov 18 19:15:28 2010 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +Accept and ignore: --unresolved-error, --quiet, --config somefile
     1.5 +--- busybox-1.17.1/modutils/depmod.c
     1.6 ++++ busybox-1.17.1/modutils/depmod.c
     1.7 +@@ -144,6 +144,8 @@
     1.8 +  *		Print to stdout all the symbols each module depends on
     1.9 +  *		and the module's file name which provides that symbol.
    1.10 +  *	-r	No-op
    1.11 ++ *	-u	No-op
    1.12 ++ *	-q	No-op
    1.13 +  *
    1.14 +  * So far we only support: [-rn] [-b BASE] [VERSION] [MODFILES]...
    1.15 +  * -aAeF are accepted but ignored. -vC are not accepted.
    1.16 +@@ -155,7 +157,10 @@
    1.17 + 	//OPT_e = (1 << 3), /* with -F, print unresolved symbols */
    1.18 + 	//OPT_F = (1 << 4), /* System.map that contains the symbols */
    1.19 + 	OPT_n = (1 << 5), /* dry-run, print to stdout only */
    1.20 +-	OPT_r = (1 << 6)  /* Compat dummy. Linux Makefile uses it */
    1.21 ++	OPT_r = (1 << 6), /* Compat dummy. Linux Makefile uses it */
    1.22 ++	OPT_u = (1 << 7), /* unresolved-error: ignored */
    1.23 ++	OPT_q = (1 << 8), /* quiet: ignored */
    1.24 ++	OPT_C = (1 << 9)  /* config: ignored */
    1.25 + };
    1.26 + 
    1.27 + int depmod_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
    1.28 +@@ -167,7 +172,7 @@
    1.29 + 	struct utsname uts;
    1.30 + 	int tmp;
    1.31 + 
    1.32 +-	getopt32(argv, "aAb:eF:nr", &moddir_base, NULL);
    1.33 ++	getopt32(argv, "aAb:eF:nruqC:", &moddir_base, NULL, NULL);
    1.34 + 	argv += optind;
    1.35 + 
    1.36 + 	/* goto modules location */