From 343b9475b9516c1d9b35e057e277aecdae3e75ae Mon Sep 17 00:00:00 2001 From: Stefan Schmidt <stefan.schmidt@huawei.com> Date: Wed, 22 Mar 2023 21:46:49 +0100 Subject: [PATCH] openharmony-standard: enable and package third_party wpa_supplicant With the hdf wlan libraries in place we can now enable the wpa_supplicant build. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> --- .../openharmony/openharmony-standard_3.0.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/recipes-openharmony/openharmony/openharmony-standard_3.0.bb b/recipes-openharmony/openharmony/openharmony-standard_3.0.bb index 3f086fd3..f65fc844 100644 --- a/recipes-openharmony/openharmony/openharmony-standard_3.0.bb +++ b/recipes-openharmony/openharmony/openharmony-standard_3.0.bb @@ -410,6 +410,7 @@ OPENHARMONY_PARTS += "startup:startup_l2" OPENHARMONY_PARTS += "telephony:core_service" OPENHARMONY_PARTS += "telephony:ril_adapter" OPENHARMONY_PARTS += "utils:utils_base" +OPENHARMONY_PARTS += "wpa_supplicant-2.9:wpa_supplicant-2.9" OPENHARMONY_PARTS += "${@bb.utils.contains('DISTRO_FEATURES', 'acts', 'xts:phone_tests', '', d)}" export XTS_SUITENAME = "${@bb.utils.contains('DISTRO_FEATURES', 'acts', 'acts', '', d)}" @@ -2061,6 +2062,17 @@ RDEPENDS:${PN}-thirdparty-weston += "${PN}-hilog ${PN}-libutils ${PN}-thirdparty RDEPENDS:${PN}-thirdparty-weston += "${PN}-thirdparty-libinput ${PN}-thirdparty-libevdev ${PN}-thirdparty-eudev ${PN}-thirdparty-pixman ${PN}-display-gralloc" RDEPENDS:${PN} += "${PN}-thirdparty-weston" +PACKAGES =+ "${PN}-thirdparty-wpa-supplicant" +FILES:${PN}-thirdparty-wpa-supplicant = " \ + ${bindir}/hostapd \ + ${bindir}/wpa_cli \ + ${bindir}/wpa_supplicant \ + ${libdir}/libwpa*${SOLIBS} \ +" +RDEPENDS:${PN}-thirdparty-wpa-supplicant += "musl libcxx" +RDEPENDS:${PN}-thirdparty-wpa-supplicant += "${PN}-peripheral-wlan" +RDEPENDS:${PN} += "${PN}-thirdparty-wpa-supplicant" + # Disable all ptest suites that are know to not work for now. When the x-bit is # not set, the ptest is visible (using `ptest-runner -l`), but no test cases # will be run when executing it. -- GitLab