[source] ar71xx: fix nand device profile

LEDE Commits lede-commits at lists.infradead.org
Tue Jul 5 23:56:37 PDT 2016


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/?p=source.git;a=commitdiff;h=8fe69e4d427b8ab90e591ba7abf28ed974b37f74

commit 8fe69e4d427b8ab90e591ba7abf28ed974b37f74
Author: John Crispin <john at phrozen.org>
AuthorDate: Tue Jul 5 09:07:16 2016 +0200

    ar71xx: fix nand device profile
    
    Signed-off-by: John Crispin <john at phrozen.org>
---
 target/linux/ar71xx/image/Makefile          |  1 +
 target/linux/ar71xx/image/legacy-devices.mk | 18 ------------------
 target/linux/ar71xx/image/legacy.mk         |  1 -
 target/linux/ar71xx/image/nand.mk           | 18 ++++++++++++++++++
 4 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index ced1610..cf0c605 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -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
diff --git a/target/linux/ar71xx/image/legacy-devices.mk b/target/linux/ar71xx/image/legacy-devices.mk
index 07d3df6..f5519f7 100644
--- a/target/linux/ar71xx/image/legacy-devices.mk
+++ b/target/linux/ar71xx/image/legacy-devices.mk
@@ -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
diff --git a/target/linux/ar71xx/image/legacy.mk b/target/linux/ar71xx/image/legacy.mk
index 18eef4d..00c62e2 100644
--- a/target/linux/ar71xx/image/legacy.mk
+++ b/target/linux/ar71xx/image/legacy.mk
@@ -1,4 +1,3 @@
-include ./legacy-devices.mk
 rootfs_type=$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1)))
 
 # $(1): rootfs type.
diff --git a/target/linux/ar71xx/image/nand.mk b/target/linux/ar71xx/image/nand.mk
index 8e098b0..b467958 100644
--- a/target/linux/ar71xx/image/nand.mk
+++ b/target/linux/ar71xx/image/nand.mk
@@ -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



More information about the lede-commits mailing list