wpa-supplicant makefile patch
Jouni Malinen
jkmaline
Sat Nov 20 08:31:55 PST 2004
On Fri, Nov 19, 2004 at 05:38:57PM -0700, Jim Cromie wrote:
> attached patch is trivial, but mildly helpful, ie:
>
> [jimc at harpo wpa_supplicant-0.2.5]$ more patch-make1
> --- Makefile.orig 2004-11-19 16:59:55.569710456 -0700
> +++ Makefile 2004-11-19 17:22:01.798093096 -0700
> @@ -34,6 +34,11 @@
> echo '.config exists - did not replace it'; \
> exit 1; \
> fi
> + @if [ -x /sbin/modprobe ]; then \
> + if /sbin/modprobe ndiswrapper 2>/dev/null ; then \
> + echo CONFIG_DRIVER_NDISWRAPPER=y >> .config; \
> + fi \
> + fi
This has an unexpected side-effect of trying to load a kernel module and
I would rather not change 'make mkconfig' to do this. In addition, this
would require root privileges whereas the compilation should not add
such a requirement.
I'm more likely to just remove the 'make mkconfig' completely and add a
seaprate config.example (etc.) file that could be used as a template.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list