From: Rosen Penev Date: Mon, 29 Jun 2026 23:49:00 +0000 (-0700) Subject: apm821xx: only install swconfig for needed devices X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aef2523de1d80717ef62f908d88cea5e166f0ef5;p=thirdparty%2Fopenwrt.git apm821xx: only install swconfig for needed devices Only the wndap6x0 devices need swconfig because of the realtek switch. Place swconfig there instead of for every device. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/23985 Signed-off-by: Jonas Jelonek --- diff --git a/target/linux/apm821xx/image/nand.mk b/target/linux/apm821xx/image/nand.mk index d23ee815e16..51bc1a41be6 100644 --- a/target/linux/apm821xx/image/nand.mk +++ b/target/linux/apm821xx/image/nand.mk @@ -23,7 +23,7 @@ endef define Device/meraki_mr24 DEVICE_VENDOR := Cisco Meraki DEVICE_MODEL := MR24 - DEVICE_PACKAGES := kmod-spi-gpio kmod-phy-at803x -swconfig + DEVICE_PACKAGES := kmod-spi-gpio kmod-phy-at803x BOARD_NAME := mr24 IMAGES := sysupgrade.bin DEVICE_DTC_FLAGS := --space 64512 @@ -59,7 +59,7 @@ TARGET_DEVICES += meraki_mx60 define Device/netgear_wndap6x0 DEVICE_VENDOR := NETGEAR - DEVICE_PACKAGES := kmod-eeprom-at24 + DEVICE_PACKAGES := kmod-eeprom-at24 swconfig SUBPAGESIZE := 256 PAGESIZE := 512 BLOCKSIZE := 16k diff --git a/target/linux/apm821xx/nand/target.mk b/target/linux/apm821xx/nand/target.mk index 0cba949fa06..b82385ba557 100644 --- a/target/linux/apm821xx/nand/target.mk +++ b/target/linux/apm821xx/nand/target.mk @@ -1,7 +1,7 @@ BOARDNAME:=Devices with NAND flash (Routers) FEATURES += nand pcie -DEFAULT_PACKAGES += kmod-ath9k swconfig wpad-basic-mbedtls +DEFAULT_PACKAGES += kmod-ath9k wpad-basic-mbedtls define Target/Description Build firmware images for APM821XX boards with NAND flash.