Skip to content

Commit

Permalink
armbian-firmware: add bcm sdio fw package
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Aug 25, 2024
1 parent d856657 commit 6149067
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions package/firmware/armbian-firmware/Makefile
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))

0 comments on commit 6149067

Please sign in to comment.