2022-11-16 04:47:41 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
2019-09-04 15:21:26 +00:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=cypress-nvram
|
2022-11-14 05:09:58 +00:00
|
|
|
PKG_RELEASE:=7
|
2019-09-04 15:21:26 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2022-11-14 05:09:58 +00:00
|
|
|
# Cypress 4339 SDIO NVRAM
|
|
|
|
define Package/cypress-nvram-4339-sdio
|
2019-09-04 15:21:26 +00:00
|
|
|
$(Package/cypress-nvram-default)
|
2022-11-14 05:09:58 +00:00
|
|
|
TITLE:=BCM4339 SDIO NVRAM
|
2022-11-14 04:11:06 +00:00
|
|
|
CONFLICTS:=brcmfmac-nvram-4339-sdio
|
2019-09-04 15:21:26 +00:00
|
|
|
endef
|
|
|
|
|
2022-11-14 05:09:58 +00:00
|
|
|
define Package/cypress-nvram-4339-sdio/install
|
2019-09-04 15:21:26 +00:00
|
|
|
$(INSTALL_DIR) $(1)/lib/firmware/brcm
|
|
|
|
$(INSTALL_DATA) \
|
2022-11-16 04:47:41 +00:00
|
|
|
./files/brcmfmac4339-sdio.AP6335.txt \
|
2022-10-22 15:09:19 +00:00
|
|
|
$(1)/lib/firmware/brcm/
|
2022-11-16 04:47:41 +00:00
|
|
|
$(LN) \
|
|
|
|
brcmfmac4339-sdio.AP6335.txt \
|
|
|
|
$(1)/lib/firmware/brcm/brcmfmac4339-sdio.technexion,imx7d-pico-pi.txt
|
2022-04-28 20:59:07 +00:00
|
|
|
endef
|
|
|
|
|
2022-11-14 05:09:58 +00:00
|
|
|
$(eval $(call BuildPackage,cypress-nvram-4339-sdio))
|