forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
armbian-firmware: add bcm sdio fw package
- Loading branch information
1 parent
d856657
commit 6149067
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# | ||
# Copyright (C) 2020 OpenWrt.org | ||
# | ||
# This is free software, licensed under the GNU General Public License v2. | ||
# See /LICENSE for more information. | ||
# | ||
|
||
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=armbian-firmware | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE_PROTO:=git | ||
PKG_SOURCE_DATE:=2024-08-15 | ||
PKG_SOURCE_URL:=https://github.com/armbian/firmware.git | ||
PKG_SOURCE_VERSION:=511deee7289cb9a5dee6ba142d18a09933d5ba00 | ||
PKG_MIRROR_HASH:=918f05ad98cb4a6fdd713b874d794d1aefc2a644025bca418f877c5f9c0f60c5 | ||
|
||
include $(INCLUDE_DIR)/package.mk | ||
|
||
define Package/brcmfmac-firmware-default | ||
SECTION:=firmware | ||
CATEGORY:=Firmware | ||
TITLE:=Broadcom FullMac SDIO firmware | ||
URL:=https://github.com/armbian/firmware | ||
endef | ||
|
||
define Package/brcmfmac-firmware-43752-sdio | ||
$(Package/brcmfmac-firmware-default) | ||
TITLE:=Broadcom BRCM43752 FullMac SDIO firmware | ||
endef | ||
|
||
define Build/Compile | ||
true | ||
endef | ||
|
||
define Package/brcmfmac-firmware-43752-sdio/install | ||
$(INSTALL_DIR) $(1)/lib/firmware/brcm | ||
$(INSTALL_DATA) \ | ||
$(PKG_BUILD_DIR)/brcm/BCM4362A2.hcd \ | ||
$(1)/lib/firmware/brcm/BCM4362A2.hcd | ||
$(INSTALL_DATA) \ | ||
$(PKG_BUILD_DIR)/brcm/brcmfmac43752-sdio.bin \ | ||
$(1)/lib/firmware/brcm/brcmfmac43752-sdio.bin | ||
$(INSTALL_DATA) \ | ||
$(PKG_BUILD_DIR)/brcm/brcmfmac43752-sdio.clm_blob \ | ||
$(1)/lib/firmware/brcm/brcmfmac43752-sdio.clm_blob | ||
$(INSTALL_DATA) \ | ||
$(PKG_BUILD_DIR)/brcm/brcmfmac43752-sdio.txt \ | ||
$(1)/lib/firmware/brcm/brcmfmac43752-sdio.txt | ||
$(LN) \ | ||
brcmfmac43752-sdio.txt \ | ||
$(1)/lib/firmware/brcm/brcmfmac43752-sdio.armsom,sige1.txt | ||
endef | ||
|
||
$(eval $(call BuildPackage,brcmfmac-firmware-43752-sdio)) |