busybox: remove the -static-libgcc flag, saves a few kb
[openwrt.git] / package / busybox / patches / 470-insmod_search.patch
index fc060dd..8f52d98 100644 (file)
@@ -98,9 +98,9 @@
 +      return ret;
 +}
  
- int insmod_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
- int insmod_main(int argc UNUSED_PARAM, char **argv)
-@@ -33,9 +126,15 @@ int insmod_main(int argc UNUSED_PARAM, c
+ /* 2.6 style insmod has no options and required filename
+  * (not module name - .ko can't be omitted) */
+@@ -55,9 +148,15 @@ int insmod_main(int argc UNUSED_PARAM, c
        if (!filename)
                bb_show_usage();
  
        string "Default directory containing modules"
        default "/lib/modules"
 -      depends on DEPMOD || MODPROBE || MODPROBE_SMALL || MODINFO
-+      depends on DEPMOD || MODPROBE || MODPROBE_SMALL || MODINFO || INSMOD
++      depends on DEPMOD || INSMOD || MODPROBE || MODPROBE_SMALL || MODINFO
        help
          Directory that contains kernel modules.
          Defaults to "/lib/modules"
This page took 0.026184 seconds and 4 git commands to generate.