Hi,

The attatched patch makes it possible to run 'make modules_install' with
busybox depmod.

The linux kernel makefile runs depmod -r which is a compatibility option
that does nothing.

-nc
--- busybox-1.13.2/modutils/depmod.c.orig	2009-02-12 12:53:11.000000000 +0000
+++ busybox-1.13.2/modutils/depmod.c	2009-02-12 12:57:29.000000000 +0000
@@ -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 */
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to