From: Piotr Dymacz Date: Fri, 9 Jun 2017 17:56:09 +0000 (+0200) Subject: ar71xx: move WRTnode2Q to generic build target X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=641af0c39d071c8fb33d90ac3b4d369d34c61dfb;p=openwrt%2Fstaging%2Fthess.git ar71xx: move WRTnode2Q to generic build target Signed-off-by: Piotr Dymacz --- diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk index 1d0a047bbd..c293555d7b 100644 --- a/target/linux/ar71xx/image/generic.mk +++ b/target/linux/ar71xx/image/generic.mk @@ -858,6 +858,15 @@ define Device/wpj563 endef TARGET_DEVICES += wpj342 wpj344 wpj531 wpj558 wpj563 +define Device/wrtnode2q + DEVICE_TITLE := WRTnode2Q + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage + BOARDNAME := WRTNODE2Q + IMAGE_SIZE := 16064k + MTDPARTS := spi0.0:192k(u-boot)ro,64k(u-boot-env),64k(art)ro,16064k(firmware),16384k@0x0(fullflash) +endef +TARGET_DEVICES += wrtnode2q + define Device/zbt-we1526 DEVICE_TITLE := Zbtlink ZBT-WE1526 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 diff --git a/target/linux/ar71xx/image/legacy-devices.mk b/target/linux/ar71xx/image/legacy-devices.mk index c6b6eaf679..a7ce189855 100644 --- a/target/linux/ar71xx/image/legacy-devices.mk +++ b/target/linux/ar71xx/image/legacy-devices.mk @@ -167,12 +167,6 @@ define LegacyDevice/WLR8100 endef LEGACY_DEVICES += WLR8100 -define LegacyDevice/WRTNODE2Q - DEVICE_TITLE := WRTnode2Q board - DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage -endef -LEGACY_DEVICES += WRTNODE2Q - define LegacyDevice/YUN_8M DEVICE_TITLE := Arduino Yun based on Atheros AR9331 (8MB flash) DEVICE_PACKAGES := kmod-usb-core kmod-usb2 diff --git a/target/linux/ar71xx/image/legacy.mk b/target/linux/ar71xx/image/legacy.mk index d40baeace2..a9f535f064 100644 --- a/target/linux/ar71xx/image/legacy.mk +++ b/target/linux/ar71xx/image/legacy.mk @@ -279,7 +279,6 @@ mynet_rext_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,7808k(firmware),64k(nvram)ro zyx_nbg6716_mtdlayout=mtdparts=spi0.0:256k(u-boot)ro,64k(env)ro,64k(RFdata)ro,-(nbu);ar934x-nfc:2048k(zyxel_rfsd),2048k(romd),1024k(header),2048k(kernel),-(ubi) yun_mtdlayout_8M=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,6464k(rootfs),1280k(kernel),64k(nvram),64k(art)ro,7744k@0x50000(firmware) yun_mtdlayout_16M=mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,14656k(rootfs),1280k(kernel),64k(nvram),64k(art)ro,15936k@0x50000(firmware) -wrtnode2q_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env),64k(art)ro,1472k(kernel),14592k(rootfs),16064k@0x50000(firmware),16384k@0x0(fullflash) define Image/BuildKernel cp $(KDIR)/vmlinux.elf $(VMLINUX).elf @@ -901,7 +900,6 @@ $(eval $(call SingleProfile,AthLzma,64k,EWDORIN16M,ew-dorin-16M,EW-DORIN,ttyATH0 $(eval $(call SingleProfile,AthLzma,64k,HORNETUBx2,hornet-ub-x2,HORNET-UB,ttyATH0,115200,$$(alfa_mtdlayout_16M),KRuImage,65536)) $(eval $(call SingleProfile,AthLzma,64k,TUBE2H16M,tube2h-16M,TUBE2H,ttyATH0,115200,$$(alfa_mtdlayout_16M),KRuImage,65536)) $(eval $(call SingleProfile,AthLzma,64k,WLR8100,wlr8100,WLR8100,ttyS0,115200,$$(wlr8100_mtdlayout),KRuImage)) -$(eval $(call SingleProfile,AthLzma,64k,WRTNODE2Q,wrtnode2q,WRTNODE2Q,ttyS0,115200,$$(wrtnode2q_mtdlayout),KRuImage)) $(eval $(call SingleProfile,AthLzma,64k,YUN_8M,yun-8M,Yun,ttyATH0,250000,$$(yun_mtdlayout_8M),RKuImage)) $(eval $(call SingleProfile,AthLzma,64k,YUN_16M,yun-16M,Yun,ttyATH0,250000,$$(yun_mtdlayout_16M),RKuImage))