ar71xx: fix nand device profile
authorJohn Crispin <john@phrozen.org>
Tue, 5 Jul 2016 07:07:16 +0000 (09:07 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 5 Jul 2016 20:59:14 +0000 (22:59 +0200)
Signed-off-by: John Crispin <john@phrozen.org>
target/linux/ar71xx/image/Makefile
target/linux/ar71xx/image/legacy-devices.mk
target/linux/ar71xx/image/legacy.mk
target/linux/ar71xx/image/nand.mk

index ced1610aa6e3b27358cc417678f067b130a5cdf4..cf0c605076947ce649a841c4e3cab9bbb157295d 100644 (file)
@@ -20,6 +20,7 @@ ifeq ($(SUBTARGET),generic)
 include ./tp-link.mk
 include ./ubnt.mk
 include ./generic.mk
+include ./legacy-devices.mk
 endif
 ifeq ($(SUBTARGET),nand)
 include ./nand.mk
index 07d3df68314c43d0c6386957a028e31802c12560..f5519f7787c807ef5073c1181cd27b3bbc6d7da1 100644 (file)
@@ -629,21 +629,3 @@ define LegacyDevice/NBG_460N_550N_550NH
        DEVICE_PACKAGES := kmod-rtc-pcf8563
 endef
 LEGACY_DEVICES += NBG_460N_550N_550NH
-
-define LegacyDevice/R6100
-       DEVICE_TITLE := NETGEAR R6100
-       DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
-endef
-LEGACY_DEVICES += R6100
-
-define LegacyDevice/WNDR4300
-       DEVICE_TITLE := NETGEAR WNDR3700v4/WNDR4300
-       DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
-endef
-LEGACY_DEVICES += WNDR4300
-
-define LegacyDevice/NBG6716
-       DEVICE_TITLE := Zyxel NBG 6716
-       DEVICE_PACKAGES := kmod-rtc-pcf8563 kmod-ath10k
-endef
-LEGACY_DEVICES += NBG6716
index 18eef4dd09bccd4ff25b13e6439b1abc86972990..00c62e25feec749ed160961cb9cec3f0e65f835a 100644 (file)
@@ -1,4 +1,3 @@
-include ./legacy-devices.mk
 rootfs_type=$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1)))
 
 # $(1): rootfs type.
index 8e098b0d40ad49f4a919e304acee67376052c8ea..b46795896af4bfff07339cf871642fcb989fa94c 100644 (file)
@@ -19,3 +19,21 @@ define Device/mr18
   IMAGE/sysupgrade.tar := sysupgrade-nand
 endef
 TARGET_DEVICES += mr18
+
+define LegacyDevice/R6100
+       DEVICE_TITLE := NETGEAR R6100
+       DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
+endef
+LEGACY_DEVICES += R6100
+
+define LegacyDevice/WNDR4300
+       DEVICE_TITLE := NETGEAR WNDR3700v4/WNDR4300
+       DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-usbdev
+endef
+LEGACY_DEVICES += WNDR4300
+
+define LegacyDevice/NBG6716
+       DEVICE_TITLE := Zyxel NBG 6716
+       DEVICE_PACKAGES := kmod-rtc-pcf8563 kmod-ath10k
+endef
+LEGACY_DEVICES += NBG6716