mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
a110418027
According to commit 6f6c2fb321
, AP6335 module used in PICO-PI-IMX7D works
only with firmware from `linux-firmware`. However, firmware from
`cypress-firmware` suite is directly from the chip company (Infineon) and
is actually newer.
Instead of dropping the firmware from Infineon, create a package named
`brcmfmac-firmware-4339-sdio`, and keep the Infineon version of
`cypress-firmware-4339-sdio` around.
This gives us devs the option to choose. Also, it means that
- packages `brcmfmac-firmware-*` uniformly come from `linux-firmware`
- packages `cypress-firmware-*` uniformly come from `cypress-firmware`
so hopefully brings more clarity.
Tested-by: Lech Perczak <lech.perczak@gmail.com>
Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
38 lines
800 B
Makefile
38 lines
800 B
Makefile
#
|
|
# Copyright (C) 2014 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:=linux-firmware
|
|
PKG_VERSION:=20221109
|
|
PKG_RELEASE:=3
|
|
|
|
PKG_SOURCE_URL:=@KERNEL/linux/kernel/firmware
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
PKG_HASH:=c0ddffbbcf30f2e015bddd5c6d3ce1f13976b906aceabda4a57e3c41a3190701
|
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
|
|
|
SCAN_DEPS = *.mk
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/firmware-default
|
|
SECTION:=firmware
|
|
CATEGORY:=Firmware
|
|
URL:=http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git
|
|
TITLE:=$(1)
|
|
DEPENDS:=$(2)
|
|
endef
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
include $(wildcard ./*.mk)
|
|
#$(eval $(call BuildPackage,linux-firmware))
|