diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-19 01:25:42 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-19 01:25:42 +0000 |
commit | a430b695a28c8412366080c717700f3c373aea27 (patch) | |
tree | ed8ddfa33a8f622b00577f306042ddf6529d3fca | |
parent | 962e3656f61a8006eb034c0fa2cd3926a157199b (diff) | |
download | busybox-w32-a430b695a28c8412366080c717700f3c373aea27.tar.gz busybox-w32-a430b695a28c8412366080c717700f3c373aea27.tar.bz2 busybox-w32-a430b695a28c8412366080c717700f3c373aea27.zip |
depmod: accept and ignore -r (Linux kernle build needs this)
-rw-r--r-- | modutils/depmod.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modutils/depmod.c b/modutils/depmod.c index 7f3e1d8a6..8caa3769c 100644 --- a/modutils/depmod.c +++ b/modutils/depmod.c | |||
@@ -37,6 +37,7 @@ enum { | |||
37 | ARG_e = (1<<3), /* with -F, print unresolved symbols */ | 37 | ARG_e = (1<<3), /* with -F, print unresolved symbols */ |
38 | ARG_F = (1<<4), /* System.map that contains the symbols */ | 38 | ARG_F = (1<<4), /* System.map that contains the symbols */ |
39 | ARG_n = (1<<5) /* dry-run, print to stdout only */ | 39 | ARG_n = (1<<5) /* dry-run, print to stdout only */ |
40 | ARG_r = (1<<6) /* Compat dummy. Linux Makefile uses it */ | ||
40 | }; | 41 | }; |
41 | 42 | ||
42 | static int FAST_FUNC parse_module(const char *fname, struct stat *sb, | 43 | static int FAST_FUNC parse_module(const char *fname, struct stat *sb, |
@@ -138,7 +139,7 @@ int depmod_main(int argc UNUSED_PARAM, char **argv) | |||
138 | struct utsname uts; | 139 | struct utsname uts; |
139 | int tmp; | 140 | int tmp; |
140 | 141 | ||
141 | getopt32(argv, "aAb:eF:n", &moddir_base, NULL); | 142 | getopt32(argv, "aAb:eF:nr", &moddir_base, NULL); |
142 | argv += optind; | 143 | argv += optind; |
143 | 144 | ||
144 | /* goto modules location */ | 145 | /* goto modules location */ |