summaryrefslogtreecommitdiffstats
path: root/bcmdhd/firmware/bcm4329
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-07-22 10:08:01 -0700
committerDmitry Shmidt <dimitrysh@google.com>2011-07-22 10:56:29 -0700
commited2837d85977ed27c5b804995aba0219fa51ecc1 (patch)
treec98a6159a0b852bcad24ba24ff7010ca64ba1cc5 /bcmdhd/firmware/bcm4329
parent4b19c41f45383970a359e9a461bbb380701510e4 (diff)
downloadhardware_broadcom_wlan-ed2837d85977ed27c5b804995aba0219fa51ecc1.zip
hardware_broadcom_wlan-ed2837d85977ed27c5b804995aba0219fa51ecc1.tar.gz
hardware_broadcom_wlan-ed2837d85977ed27c5b804995aba0219fa51ecc1.tar.bz2
Add device-bcm.mk for bcm4329 firmware
Change-Id: I8981d20e2688aca7390267da411e39ad06f31049 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'bcmdhd/firmware/bcm4329')
-rw-r--r--bcmdhd/firmware/bcm4329/device-bcm.mk (renamed from bcmdhd/firmware/bcm4329/Android.mk)27
1 files changed, 8 insertions, 19 deletions
diff --git a/bcmdhd/firmware/bcm4329/Android.mk b/bcmdhd/firmware/bcm4329/device-bcm.mk
index db9c3e8..1bc7dd4 100644
--- a/bcmdhd/firmware/bcm4329/Android.mk
+++ b/bcmdhd/firmware/bcm4329/device-bcm.mk
@@ -13,30 +13,19 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-LOCAL_PATH := $(call my-dir)
########################
-include $(CLEAR_VARS)
-LOCAL_MODULE := fw_bcm4329.bin
-LOCAL_MODULE_CLASS := ETC
-#LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware
-LOCAL_MODULE_PATH := $(TARGET_OUT)/vendor/firmware
ifeq ($(strip $(WIFI_BAND)),802_11_ABG)
-LOCAL_SRC_FILES := fw_bcm4329_abg.bin
+BCM_FW_SRC_FILE_STA := fw_bcm4329_abg.bin
else
-LOCAL_SRC_FILES := $(LOCAL_MODULE)
+BCM_FW_SRC_FILE_STA := fw_bcm4329.bin
endif
-include $(BUILD_PREBUILT)
-
-########################
-
-include $(CLEAR_VARS)
-LOCAL_MODULE := fw_bcm4329_apsta.bin
-LOCAL_MODULE_CLASS := ETC
-#LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/firmware
-LOCAL_MODULE_PATH := $(TARGET_OUT)/vendor/firmware
-LOCAL_SRC_FILES := $(LOCAL_MODULE)
-include $(BUILD_PREBUILT)
+BCM_FW_SRC_FILE_AP := fw_bcm4329_apsta.bin
+BCM_FW_SRC_FILE_P2P := fw_bcm4329_p2p.bin
+PRODUCT_COPY_FILES += \
+ hardware/broadcom/wlan/bcmdhd/firmware/bcm4329/$(BCM_FW_SRC_FILE_STA):system/vendor/firmware/fw_bcmdhd.bin \
+ hardware/broadcom/wlan/bcmdhd/firmware/bcm4329/$(BCM_FW_SRC_FILE_AP):system/vendor/firmware/fw_bcmdhd_apsta.bin \
+ hardware/broadcom/wlan/bcmdhd/firmware/bcm4329/$(BCM_FW_SRC_FILE_P2P):system/vendor/firmware/fw_bcmdhd_p2p.bin
########################