The IXP4xx firmware is now in linux-firmware so use these images instead and drop the special microcode builder package. Apply a change to the github labeler at the same time as the special ixp4xx microcode package no longer exists after this. Link: https://github.com/openwrt/openwrt/pull/24422 Signed-off-by: Linus Walleij <linusw@kernel.org>
29 lines
992 B
Makefile
29 lines
992 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Copyright (C) 2007-2026 OpenWrt.org
|
|
|
|
# Ethernet or WAN support, pick one
|
|
|
|
Package/ixp4xx-microcode-ethernet = $(call Package/firmware-default,IXP4xx ethernet firmware,@TARGET_ixp4xx,LICENSE.ixp4xx,,nonshared)
|
|
define Package/ixp4xx-microcode-ethernet/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ixp4xx/NPE-A \
|
|
$(PKG_BUILD_DIR)/ixp4xx/NPE-B \
|
|
$(PKG_BUILD_DIR)/ixp4xx/NPE-C \
|
|
$(1)/lib/firmware/
|
|
endef
|
|
$(eval $(call BuildPackage,ixp4xx-microcode-ethernet))
|
|
|
|
Package/ixp4xx-microcode-wan = $(call Package/firmware-default,IXP4xx WAN firmware,@TARGET_ixp4xx,LICENSE.ixp4xx,,nonshared)
|
|
define Package/ixp4xx-microcode-wan/install
|
|
$(INSTALL_DIR) $(1)/lib/firmware/
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ixp4xx/NPE-A-HSS \
|
|
$(1)/lib/firmware/NPE-A
|
|
$(INSTALL_DATA) \
|
|
$(PKG_BUILD_DIR)/ixp4xx/NPE-B \
|
|
$(PKG_BUILD_DIR)/ixp4xx/NPE-C \
|
|
$(1)/lib/firmware/
|
|
endef
|
|
$(eval $(call BuildPackage,ixp4xx-microcode-wan))
|