]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
apm821xx: only install swconfig for needed devices 23985/head
authorRosen Penev <rosenp@gmail.com>
Mon, 29 Jun 2026 23:49:00 +0000 (16:49 -0700)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Wed, 1 Jul 2026 07:40:06 +0000 (09:40 +0200)
Only the wndap6x0 devices need swconfig because of the realtek switch.
Place swconfig there instead of for every device.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23985
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/apm821xx/image/nand.mk
target/linux/apm821xx/nand/target.mk

index d23ee815e16fa5a13b7e835f288f943b2b64bfff..51bc1a41be68fbdec92497767d807018e6590276 100644 (file)
@@ -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
index 0cba949fa0695b44d1c992f0adadc6d9cabb3940..b82385ba55793b6337a402d3e4bd9ecf3f19abcb 100644 (file)
@@ -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.