summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2016-09-16 11:48:22 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2016-09-29 21:24:45 +0200
commitc3d3111831d49d1ab37d90bbe6a61f1b2263721d (patch)
tree4ee9ec7784939185f4543f7540cc614f81ad8ace /package
parent31e0f0aec06e2dc2677cdcfea6f5284d8cbc04c1 (diff)
downloadmtk-20170518-c3d3111831d49d1ab37d90bbe6a61f1b2263721d.zip
mtk-20170518-c3d3111831d49d1ab37d90bbe6a61f1b2263721d.tar.gz
mtk-20170518-c3d3111831d49d1ab37d90bbe6a61f1b2263721d.tar.bz2
brcmfmac43430-firmware: remove package and switch to linux-firmware
Now that the firmware for BCM43430 has been submitted to linux-firmware use it and remove RPiDistro package. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/firmware/brcmfmac43430-firmware/Makefile63
-rw-r--r--package/firmware/linux-firmware/broadcom.mk9
2 files changed, 9 insertions, 63 deletions
diff --git a/package/firmware/brcmfmac43430-firmware/Makefile b/package/firmware/brcmfmac43430-firmware/Makefile
deleted file mode 100644
index 7a6bcc0..0000000
--- a/package/firmware/brcmfmac43430-firmware/Makefile
+++ /dev/null
@@ -1,63 +0,0 @@
-#
-# Copyright (C) 2016 OpenWrt.org
-# Copyright (C) 2016 LEDE project
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=brcmfmac-firmware-43430-sdio
-PKG_VERSION:=2016-06-07
-PKG_RELEASE:=a7491de4c4b2f1ceb5d0dfa5350b95e5c6fb9bd4
-
-include $(INCLUDE_DIR)/package.mk
-
-BRCMFMAC43430_SDIO_URL:=@GITHUB/RPi-Distro/firmware-nonfree/$(PKG_RELEASE)/brcm80211/brcm/
-BRCMFMAC43430_SDIO_FILE:=brcmfmac43430-sdio-$(PKG_RELEASE)
-
-define Download/brcmfmac43430_sdio_bin
- FILE:=$(BRCMFMAC43430_SDIO_FILE).bin
- URL:=$(BRCMFMAC43430_SDIO_URL)
- URL_FILE:=brcmfmac43430-sdio.bin
- MD5SUM:=b24aad300e161782072b227abe9862f7
-endef
-$(eval $(call Download,brcmfmac43430_sdio_bin))
-
-define Download/brcmfmac43430_sdio_txt
- FILE:=$(BRCMFMAC43430_SDIO_FILE).txt
- URL:=$(BRCMFMAC43430_SDIO_URL)
- URL_FILE:=brcmfmac43430-sdio.txt
- MD5SUM:=8c3cb6d8f0609b43f09d083b4006ec5a
-endef
-$(eval $(call Download,brcmfmac43430_sdio_txt))
-
-define Package/brcmfmac-firmware-43430-sdio
- SECTION:=firmware
- CATEGORY:=Firmware
- TITLE:=Broadcom BCM43430 FullMac SDIO firmware
- URL:=http://www.broadcom.com/
-endef
-
-define Package/brcmfmac-firmware-43430-sdio/description
- Broadcom BCM43430 fullmac SDIO firmware
-endef
-
-define Build/Prepare
- rm -rf $(PKG_BUILD_DIR)
- mkdir -p $(PKG_BUILD_DIR)
- cp $(DL_DIR)/$(BRCMFMAC43430_SDIO_FILE).bin $(PKG_BUILD_DIR)/brcmfmac43430-sdio.bin
- cp $(DL_DIR)/$(BRCMFMAC43430_SDIO_FILE).txt $(PKG_BUILD_DIR)/brcmfmac43430-sdio.txt
-endef
-
-define Build/Compile
- true
-endef
-
-define Package/brcmfmac-firmware-43430-sdio/install
- $(INSTALL_DIR) $(1)/lib/firmware/brcm/
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/brcmfmac43430-sdio.bin $(1)/lib/firmware/brcm/
- $(INSTALL_DATA) $(PKG_BUILD_DIR)/brcmfmac43430-sdio.txt $(1)/lib/firmware/brcm/
-endef
-
-$(eval $(call BuildPackage,brcmfmac-firmware-43430-sdio))
diff --git a/package/firmware/linux-firmware/broadcom.mk b/package/firmware/linux-firmware/broadcom.mk
index 3bb1478..c2b6916 100644
--- a/package/firmware/linux-firmware/broadcom.mk
+++ b/package/firmware/linux-firmware/broadcom.mk
@@ -34,6 +34,15 @@ define Package/brcmfmac-firmware-43362-sdio/install
endef
$(eval $(call BuildPackage,brcmfmac-firmware-43362-sdio))
+Package/brcmfmac-firmware-43430-sdio = $(call Package/firmware-default,Broadcom BCM43430 FullMac SDIO firmware)
+define Package/brcmfmac-firmware-43430-sdio/install
+ $(INSTALL_DIR) $(1)/lib/firmware/brcm
+ $(INSTALL_DATA) \
+ $(PKG_BUILD_DIR)/brcm/brcmfmac43430-sdio.bin \
+ $(1)/lib/firmware/brcm/brcmfmac43430-sdio.bin
+endef
+$(eval $(call BuildPackage,brcmfmac-firmware-43430-sdio))
+
Package/brcmfmac-firmware-usb = $(call Package/firmware-default,Broadcom BCM43xx fullmac USB firmware)
define Package/brcmfmac-firmware-usb/install
$(INSTALL_DIR) $(1)/lib/firmware/brcm