[RFC/PATCH] eap_peer: create a libeap library, with header files and pkg-config [v2]

Jouni Malinen j
Sat Oct 9 07:59:52 PDT 2010


On Sat, Oct 02, 2010 at 12:17:52AM -0700, Inaky Perez-Gonzalez wrote:
> This adds infrastructure in src/eap_peer to make libeap.so and install
> the needed header files and pkg-config files.

How does this differ from eap_example/Makefile for building libeap.so
and why not extend that instead if you need something more? In addition,
since there already are ways of building src/{utils,crypto,tls}
libraries, I would also prefer to use those instead of adding yet another
set of Makefile rules..

> diff --git a/src/eap_peer/Makefile b/src/eap_peer/Makefile

> +# at least for now, need to include config_ssid.h and config_blob.h from
> +# wpa_supplicant directory
> +override CFLAGS += -I ../../wpa_supplicant

Uh.. For what? "make -C src/eap_peer" goes through just fine without
this.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list