svn commit: trunk/busybox/modutils

vda at busybox.net vda at busybox.net
Thu Feb 19 01:25:43 UTC 2009


Author: vda
Date: 2009-02-19 01:25:42 +0000 (Thu, 19 Feb 2009)
New Revision: 25377

Log:
depmod: accept and ignore -r (Linux kernle build needs this)



Modified:
   trunk/busybox/modutils/depmod.c


Changeset:
Modified: trunk/busybox/modutils/depmod.c
===================================================================
--- trunk/busybox/modutils/depmod.c	2009-02-19 01:17:12 UTC (rev 25376)
+++ trunk/busybox/modutils/depmod.c	2009-02-19 01:25:42 UTC (rev 25377)
@@ -37,6 +37,7 @@
 	ARG_e = (1<<3), /* with -F, print unresolved symbols */
 	ARG_F = (1<<4), /* System.map that contains the symbols */
 	ARG_n = (1<<5)  /* dry-run, print to stdout only */
+	ARG_r = (1<<6)  /* Compat dummy. Linux Makefile uses it */
 };
 
 static int FAST_FUNC parse_module(const char *fname, struct stat *sb,
@@ -138,7 +139,7 @@
 	struct utsname uts;
 	int tmp;
 
-	getopt32(argv, "aAb:eF:n", &moddir_base, NULL);
+	getopt32(argv, "aAb:eF:nr", &moddir_base, NULL);
 	argv += optind;
 
 	/* goto modules location */



More information about the busybox-cvs mailing list