diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2018-10-11 10:50:43 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2018-10-23 09:24:44 +0800 |
commit | 67e14f015c3717827b8e89658289a543a5a8c06f (patch) | |
tree | e9593a432555d61330e6f778bf0b5ebe20255c2c /device.mk | |
parent | d9bd822cf11ffa4c2813e6027b8172a400f93505 (diff) | |
download | poplar-67e14f015c3717827b8e89658289a543a5a8c06f.tar.gz |
Build wifi support from source
Using prebuilt wifi binaries causes us maintenance problems. For
example, we have to set BUILD_BROKEN_DUP_RULES:=true for Poplar
build [1], and wifi framework update will likely break wifi support due
to outdated prebuilt blobs.
Let's drop the prebuilt wifi blobs and build required executables from
source by defining BOARD_WLAN_DEVICE:=rtl. While at it, clean up the
unnecessary explicit listing of wificond.rc and wpa_cli from
PRODUCT_PACKAGES, so that we are better aligned with reference platforms
like Hikey and Marlin.
[1] https://android.googlesource.com/device/linaro/poplar/+/72c8cc0248497ce12fde025dc43b78032139b033
Change-Id: I3113aac59d30c724e31c2f1f35dc94d1bcc087da
Diffstat (limited to 'device.mk')
-rw-r--r-- | device.mk | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -160,16 +160,13 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.wifi@1.0-service \ wificond \ - wificond.rc \ libwpa_client \ - wpa_cli + wpa_supplicant \ + hostapd ## config files PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/wifi/wpa_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant.conf \ - $(LOCAL_PATH)/wifi/p2p_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant.conf \ - $(LOCAL_PATH)/proprietary/bt-wifi/libwifi-hal.so:$(TARGET_COPY_OUT_VENDOR)/lib/libwifi-hal.so \ - $(LOCAL_PATH)/proprietary/bt-wifi/wpa_supplicant:$(TARGET_COPY_OUT_VENDOR)/bin/hw/wpa_supplicant \ - $(LOCAL_PATH)/proprietary/bt-wifi/hostapd:$(TARGET_COPY_OUT_VENDOR)/bin/hostapd + $(LOCAL_PATH)/wifi/p2p_supplicant.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant.conf ## service init.rc scripts PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/wifi/wifi.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/wifi.rc |