apm821xx: don't select swconfig for the MR24
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 28 Apr 2018 20:08:08 +0000 (22:08 +0200)
committerJohn Crispin <john@phrozen.org>
Thu, 24 May 2018 15:24:30 +0000 (17:24 +0200)
The swconfig package is part of the DEFAULT_PACKAGES list in
the apm821xx's nand subtarget. It's enabled by default because
the MX60(W) and WNDR4700 need it for their initramfs. However
the package is not necessary for the MR24's sysupgrade image, as
the MR24 does not have a switch.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
(cherry picked from commit e6e51ce87fac2d6b9d082336f8d767f12154d79b)

target/linux/apm821xx/image/Makefile

index 094c9e47debbfc1416b8cf98ea412ee2c03b6166..1e94a40918545c4d12a2f20f6b07073289fd656a 100644 (file)
@@ -74,7 +74,7 @@ endef
 
 define Device/meraki_mr24
   DEVICE_TITLE := Cisco Meraki MR24
 
 define Device/meraki_mr24
   DEVICE_TITLE := Cisco Meraki MR24
-  DEVICE_PACKAGES := kmod-spi-gpio
+  DEVICE_PACKAGES := kmod-spi-gpio -swconfig
   BOARD_NAME := mr24
   DEVICE_DTS := meraki-mr24
   BLOCKSIZE := 63k
   BOARD_NAME := mr24
   DEVICE_DTS := meraki-mr24
   BLOCKSIZE := 63k