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>
This commit is contained in:
parent
c6e86d8095
commit
49bbfd9968
2 changed files with 7 additions and 21 deletions
|
@ -3,7 +3,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=cypress-nvram
|
PKG_NAME:=cypress-nvram
|
||||||
PKG_RELEASE:=6
|
PKG_RELEASE:=7
|
||||||
|
|
||||||
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
|
PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
|
||||||
|
|
||||||
|
@ -18,35 +18,21 @@ define Build/Compile
|
||||||
true
|
true
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Cypress 4339 SDIO AP6335 NVRAM
|
# Cypress 4339 SDIO NVRAM
|
||||||
define Package/cypress-nvram-4339-sdio-ap6335
|
define Package/cypress-nvram-4339-sdio
|
||||||
$(Package/cypress-nvram-default)
|
$(Package/cypress-nvram-default)
|
||||||
TITLE:=BCM4339 NVRAM for AP6335
|
TITLE:=BCM4339 SDIO NVRAM
|
||||||
CONFLICTS:=brcmfmac-nvram-4339-sdio
|
CONFLICTS:=brcmfmac-nvram-4339-sdio
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/cypress-nvram-4339-sdio-ap6335/install
|
define Package/cypress-nvram-4339-sdio/install
|
||||||
$(INSTALL_DIR) $(1)/lib/firmware/brcm
|
$(INSTALL_DIR) $(1)/lib/firmware/brcm
|
||||||
$(INSTALL_DATA) \
|
$(INSTALL_DATA) \
|
||||||
./files/brcmfmac4339-sdio.AP6335.txt \
|
./files/brcmfmac4339-sdio.AP6335.txt \
|
||||||
$(1)/lib/firmware/brcm/
|
$(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) \
|
$(LN) \
|
||||||
brcmfmac4339-sdio.AP6335.txt \
|
brcmfmac4339-sdio.AP6335.txt \
|
||||||
$(1)/lib/firmware/brcm/brcmfmac4339-sdio.technexion,imx7d-pico-pi.txt
|
$(1)/lib/firmware/brcm/brcmfmac4339-sdio.technexion,imx7d-pico-pi.txt
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildPackage,cypress-nvram-4339-sdio-pico-pi-imx7d))
|
$(eval $(call BuildPackage,cypress-nvram-4339-sdio))
|
||||||
|
|
|
@ -21,7 +21,7 @@ define Device/technexion_imx7d-pico-pi
|
||||||
DEVICE_PACKAGES := kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
|
DEVICE_PACKAGES := kmod-sound-core kmod-sound-soc-imx kmod-sound-soc-imx-sgtl5000 \
|
||||||
kmod-can kmod-can-flexcan kmod-can-raw kmod-leds-gpio \
|
kmod-can kmod-can-flexcan kmod-can-raw kmod-leds-gpio \
|
||||||
kmod-input-touchscreen-edt-ft5x06 kmod-usb-hid kmod-btsdio \
|
kmod-input-touchscreen-edt-ft5x06 kmod-usb-hid kmod-btsdio \
|
||||||
kmod-brcmfmac brcmfmac-firmware-4339-sdio cypress-nvram-4339-sdio-pico-pi-imx7d
|
kmod-brcmfmac brcmfmac-firmware-4339-sdio cypress-nvram-4339-sdio
|
||||||
FILESYSTEMS := squashfs
|
FILESYSTEMS := squashfs
|
||||||
IMAGES := combined.bin sysupgrade.bin
|
IMAGES := combined.bin sysupgrade.bin
|
||||||
IMAGE/combined.bin := append-rootfs | pad-extra 128k | imx-sdcard-raw-uboot
|
IMAGE/combined.bin := append-rootfs | pad-extra 128k | imx-sdcard-raw-uboot
|
||||||
|
|
Loading…
Reference in a new issue