mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
49bbfd9968
NVRAM packages for the same wireless chip are consolidated into one as they contain only small text files and symlinks. Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
39 lines
848 B
Makefile
39 lines
848 B
Makefile
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=cypress-nvram
|
|
PKG_RELEASE:=7
|
|
|
|
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/cypress-nvram-default
|
|
SECTION:=firmware
|
|
CATEGORY:=Firmware
|
|
endef
|
|
|
|
define Build/Compile
|
|
true
|
|
endef
|
|
|
|
# Cypress 4339 SDIO NVRAM
|
|
define Package/cypress-nvram-4339-sdio
|
|
$(Package/cypress-nvram-default)
|
|
TITLE:=BCM4339 SDIO NVRAM
|
|
CONFLICTS:=brcmfmac-nvram-4339-sdio
|
|
endef
|
|
|
|
define Package/cypress-nvram-4339-sdio/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/brcm
|
|
$(INSTALL_DATA) \
|
|
./files/brcmfmac4339-sdio.AP6335.txt \
|
|
$(1)/lib/firmware/brcm/
|
|
$(LN) \
|
|
brcmfmac4339-sdio.AP6335.txt \
|
|
$(1)/lib/firmware/brcm/brcmfmac4339-sdio.technexion,imx7d-pico-pi.txt
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,cypress-nvram-4339-sdio))
|