Unable to compile wpa_supplicant in AOSP-10 (Android Q) by running make command in root foleder of AOSP.

418 views
Skip to first unread message

sachin verma

unread,
Oct 3, 2019, 3:53:13 PM10/3/19
to Android Building
Hi All,

I have done some changes in external/wpa_supplicant_8/wpa_supplicant/hs20_supplicant.c file and then compiling it by running make command in AOSP root directory, after completion I can't see my changes. I checked its not compiling the wpa_supplicant module. It will be very helpful if someone can tell the reason or can tell the configuration where I can enable the compilation of wpa_supplicant.

Thanks,
Sachin

Dan Willemsen

unread,
Oct 4, 2019, 4:53:06 PM10/4/19
to Android Building
Does whichever product you're building set WPA_SUPPLICANT_VERSION so that external/wpa_supplicant_8 is used?


Is wpa_supplicant in your PRODUCT_PACKAGES? If not, you should be able to build it with `m wpa_supplicant`

- Dan

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

---
You received this message because you are subscribed to the Google Groups "Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/2c8e6527-b724-4aed-937d-907ca0821884%40googlegroups.com.

sachin verma

unread,
Oct 10, 2019, 1:22:09 PM10/10/19
to android-...@googlegroups.com
Hi Dan,
Thanks for reply.
But my issue is bit weird. When I do make in AOSP root folder, I can see the "external/wpa_supplicant_8/wpa_supplicant/Android.mk" being called and executed(verified from logs), but even then the 'C' code and changes there are not reflected in my final build.
For verification even if I put some syntax error in few C files(which are include in Android.mk) under wpa_supplicant the build succeeded without error but changes are not reflected.
As per your suggestion doing "m wpa_supplicant`" in external/wpa_supplicant_8 detects syntax errors produced intermediate Obj on out directory. Not sure how flash them in device.
Not sure if wpa_supplicant is build from somewhere else OR ninja build system on Android 10 is skipping the changes based on some rules? Please note I am not facing the issue on Android 9

Thanks
Sachin

Reply all
Reply to author
Forward
0 new messages