wpa_supplicant?==?utf-8?q? 2.1 0: ignored build options

Michael Nosthoff via buildroot <[email protected]> Thu, 17 Feb 2022 10:38:17 +0100
Newsgroups gmane.linux.busybox.buildroot,gmane.linux.drivers.hostap
Message-ID <3f79-620e1780-1-7f8ee50@116634595>
Hi Sergey, all,

@Sergey: I put you on the list of recipients since you provided the version bump to buildroot.

Since hostapd 2.10 the wpa_supplicant build ignores the two options CONFIG_BUILD_WPA_CLIENT_SO and CONFIG_NO_WPA_PASSPHRASE.

This leads to the following build error in buildroot when BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO is selected:

  /usr/bin/install: cannot stat '/buildroot/build/build/wpa_supplicant-2.10/wpa_supplicant/libwpa_client.so': No such file or directory

The Bug was probably introduced with commit [0] which reworked the .config parsing.
The two mentioned options are now evaluated before the .config file is parsed an thus ignored.

I'm not familiar enough with the wpa_supplicant build to come up with a proper patch. But maybe someone is willing to take a look at this.

Regards,
Michael

[0] https://w1.fi/cgit/hostap/commit/wpa_supplicant/Makefile?id=a41a29192e5d196444fc8859100762b04ff0d1c2