diff options
author | leozwang <leozwang@google.com> | 2016-02-06 16:17:56 -0800 |
---|---|---|
committer | leozwang <leozwang@google.com> | 2016-02-06 16:17:56 -0800 |
commit | 1cb264c8b46ca1c1deeeac62ff77cd1108dd7694 (patch) | |
tree | 924962894d386f948fc8a6bb1f9115d5d8c08fd4 | |
parent | b8c62416f0c17873dc91ad89d76063cccaff554e (diff) | |
download | rockchip-1cb264c8b46ca1c1deeeac62ff77cd1108dd7694.tar.gz |
Compile wifi if exists
Change-Id: I32206596945365bcc01e5d73d90c54d2d5174c1f
-rw-r--r-- | peripheral/wifi/ap6212/peripheral.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/peripheral/wifi/ap6212/peripheral.mk b/peripheral/wifi/ap6212/peripheral.mk index 7dfa500..c699a47 100644 --- a/peripheral/wifi/ap6212/peripheral.mk +++ b/peripheral/wifi/ap6212/peripheral.mk @@ -14,14 +14,15 @@ # limitations under the License. # +LOCAL_PATH := $(call my-dir) + AP6212_WIFI_FW_SRC := vendor/bsp/rockchip/peripheral/wifi/ap6212_firmware AP6212_WIFI_FW_DST = system/vendor/firmware -AP6212_WIFI_FW := \ - fw_bcm43438a0_apsta.bin \ - fw_bcm43438a0.bin \ - fw_bcm43438a0_p2p.bin \ - nvram_ap6212.txt \ +# ifneq ($(wildcard /usr/local/google/home/leozwang/tmp/rk/vendor/bsp/rockchip/aaa),) +ifneq ($(wildcard $(LOCAL_PATH)/../../../../../../$(AP6212_WIFI_FW_SRC)),) +AP6212_WIFI_FW := fw_bcm43438a0_apsta.bin fw_bcm43438a0.bin fw_bcm43438a0_p2p.bin nvram_ap6212.txt +endif PRODUCT_COPY_FILES += \ $(join $(patsubst %, $(AP6212_WIFI_FW_SRC)/%, $(AP6212_WIFI_FW)), $(patsubst %, :$(AP6212_WIFI_FW_DST)/%, $(AP6212_WIFI_FW))) |