diff options
Diffstat (limited to 'scripts/mod/modpost.c')
-rw-r--r-- | scripts/mod/modpost.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 695b5d657cf5..110cf243fa4e 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c | |||
@@ -2026,7 +2026,7 @@ int main(int argc, char **argv) | |||
2026 | int opt; | 2026 | int opt; |
2027 | int err; | 2027 | int err; |
2028 | 2028 | ||
2029 | while ((opt = getopt(argc, argv, "i:I:msSo:awM:K:")) != -1) { | 2029 | while ((opt = getopt(argc, argv, "i:I:cmsSo:awM:K:")) != -1) { |
2030 | switch (opt) { | 2030 | switch (opt) { |
2031 | case 'i': | 2031 | case 'i': |
2032 | kernel_read = optarg; | 2032 | kernel_read = optarg; |
@@ -2035,6 +2035,9 @@ int main(int argc, char **argv) | |||
2035 | module_read = optarg; | 2035 | module_read = optarg; |
2036 | external_module = 1; | 2036 | external_module = 1; |
2037 | break; | 2037 | break; |
2038 | case 'c': | ||
2039 | cross_build = 1; | ||
2040 | break; | ||
2038 | case 'm': | 2041 | case 'm': |
2039 | modversions = 1; | 2042 | modversions = 1; |
2040 | break; | 2043 | break; |