From: John Crispin Date: Tue, 5 Jul 2016 07:07:16 +0000 (+0200) Subject: ar71xx: fix nand device profile X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8fe69e4d427b8ab90e591ba7abf28ed974b37f74;p=openwrt%2Fstaging%2Fnbd.git ar71xx: fix nand device profile Signed-off-by: John Crispin --- diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile index ced1610aa6..cf0c605076 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 07d3df6831..f5519f7787 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 18eef4dd09..00c62e25fe 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 8e098b0d40..b46795896a 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