aboutsummaryrefslogtreecommitdiffstats
path: root/package/firmware
diff options
context:
space:
mode:
authorKuan-Yi Li <kyli@abysm.org>2022-11-14 13:09:58 +0800
committerÁlvaro Fernández Rojas <noltari@gmail.com>2022-11-16 20:14:13 +0100
commit49bbfd9968879f3aa6df07871703a2643254bf60 (patch)
tree713064bb674480e61a9217c7203d93b2936a4b9a /package/firmware
parentc6e86d8095e45cb6ad084a2f447594263b0eddfe (diff)
downloadupstream-49bbfd9968879f3aa6df07871703a2643254bf60.tar.gz
upstream-49bbfd9968879f3aa6df07871703a2643254bf60.tar.bz2
upstream-49bbfd9968879f3aa6df07871703a2643254bf60.zip
cypress-nvram: consolidate NVRAM packages
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>
Diffstat (limited to 'package/firmware')
-rw-r--r--package/firmware/cypress-nvram/Makefile26
1 files changed, 6 insertions, 20 deletions
diff --git a/package/firmware/cypress-nvram/Makefile b/package/firmware/cypress-nvram/Makefile
index 598abd4d99..dcf09d9599 100644
--- a/package/firmware/cypress-nvram/Makefile
+++ b/package/firmware/cypress-nvram/Makefile
@@ -3,7 +3,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=cypress-nvram
-PKG_RELEASE:=6
+PKG_RELEASE:=7
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
@@ -18,35 +18,21 @@ define Build/Compile
true
endef
-# Cypress 4339 SDIO AP6335 NVRAM
-define Package/cypress-nvram-4339-sdio-ap6335
+# Cypress 4339 SDIO NVRAM
+define Package/cypress-nvram-4339-sdio
$(Package/cypress-nvram-default)
- TITLE:=BCM4339 NVRAM for AP6335
+ TITLE:=BCM4339 SDIO NVRAM
CONFLICTS:=brcmfmac-nvram-4339-sdio
endef
-define Package/cypress-nvram-4339-sdio-ap6335/install
+define Package/cypress-nvram-4339-sdio/install
$(INSTALL_DIR) $(1)/lib/firmware/brcm
$(INSTALL_DATA) \
./files/brcmfmac4339-sdio.AP6335.txt \
$(1)/lib/firmware/brcm/
-endef
-
-$(eval $(call BuildPackage,cypress-nvram-4339-sdio-ap6335))
-
-# Cypress 4339 SDIO PICO-PI-IMX7D NVRAM
-define Package/cypress-nvram-4339-sdio-pico-pi-imx7d
- $(Package/cypress-nvram-default)
- TITLE:=BCM4339 NVRAM for TechNexion PICO-PI-IMX7D
- DEPENDS:=+cypress-nvram-4339-sdio-ap6335
- CONFLICTS:=brcmfmac-nvram-4339-sdio
-endef
-
-define Package/cypress-nvram-4339-sdio-pico-pi-imx7d/install
- $(INSTALL_DIR) $(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-pico-pi-imx7d))
+$(eval $(call BuildPackage,cypress-nvram-4339-sdio))