2020-09-28 03:52:11 -04:00
|
|
|
#
|
|
|
|
# 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
|
2021-06-11 23:55:11 +08:00
|
|
|
|
2020-09-28 03:52:11 -04:00
|
|
|
PKG_SOURCE_PROTO:=git
|
2021-06-11 23:55:11 +08:00
|
|
|
PKG_SOURCE_DATE:=2021-05-05
|
2020-09-28 03:52:11 -04:00
|
|
|
PKG_SOURCE_URL:=https://github.com/armbian/firmware.git
|
2021-06-11 23:55:11 +08:00
|
|
|
PKG_SOURCE_VERSION:=761658e1701c77a0a84706754e6db1a25ee60b82
|
|
|
|
PKG_MIRROR_HASH:=b2db0195617a21ac8db4ce73c03ebec7feefa8df550c2da25544013ae5a32499
|
2020-09-28 03:52:11 -04:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/armbian-firmware-default
|
|
|
|
SECTION:=firmware
|
|
|
|
CATEGORY:=Firmware
|
|
|
|
URL:=https://github.com/armbian/firmware
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
2021-06-11 23:55:11 +08:00
|
|
|
true
|
|
|
|
endef
|
2020-09-28 03:52:11 -04:00
|
|
|
|
2021-06-11 23:55:11 +08:00
|
|
|
define Package/brcmfmac-firmware-43456-sdio
|
|
|
|
$(Package/armbian-firmware-default)
|
|
|
|
TITLE:=Broadcom BCM43456 FullMac SDIO firmware
|
2020-09-28 03:52:11 -04:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/brcmfmac-firmware-43456-sdio/install
|
|
|
|
$(INSTALL_DIR) $(1)/lib/firmware/brcm
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_BUILD_DIR)/brcm/brcmfmac43456-sdio.bin \
|
|
|
|
$(1)/lib/firmware/brcm/brcmfmac43456-sdio.bin
|
|
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,brcmfmac-firmware-43456-sdio))
|
|
|
|
|
2021-06-11 23:55:11 +08:00
|
|
|
define Package/brcmfmac-nvram-43456-sdio
|
|
|
|
$(Package/armbian-firmware-default)
|
|
|
|
TITLE:=Broadcom BCM43456 NVRAM firmware
|
|
|
|
endef
|
|
|
|
|
2020-09-28 03:52:11 -04:00
|
|
|
define Package/brcmfmac-nvram-43456-sdio/install
|
|
|
|
$(INSTALL_DIR) $(1)/lib/firmware/brcm
|
|
|
|
$(INSTALL_DATA) \
|
|
|
|
$(PKG_BUILD_DIR)/brcm/brcmfmac43456-sdio.txt \
|
|
|
|
$(1)/lib/firmware/brcm/brcmfmac43456-sdio.txt
|
|
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,brcmfmac-nvram-43456-sdio))
|