[source] ar71xx: move WRTnode2Q to generic build target
LEDE Commits
lede-commits at lists.infradead.org
Sun Jun 11 13:14:13 PDT 2017
pepe2k pushed a commit to source.git, branch master:
https://git.lede-project.org/641af0c39d071c8fb33d90ac3b4d369d34c61dfb
commit 641af0c39d071c8fb33d90ac3b4d369d34c61dfb
Author: Piotr Dymacz <pepe2k at gmail.com>
AuthorDate: Fri Jun 9 19:56:09 2017 +0200
ar71xx: move WRTnode2Q to generic build target
Signed-off-by: Piotr Dymacz <pepe2k at gmail.com>
---
target/linux/ar71xx/image/generic.mk | 9 +++++++++
target/linux/ar71xx/image/legacy-devices.mk | 6 ------
target/linux/ar71xx/image/legacy.mk | 2 --
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/target/linux/ar71xx/image/generic.mk b/target/linux/ar71xx/image/generic.mk
index 1d0a047..c293555 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 at 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 c6b6eaf..a7ce189 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 d40baea..a9f535f 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 at 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 at 0x50000(firmware)
-wrtnode2q_mtdlayout=mtdparts=spi0.0:192k(u-boot)ro,64k(u-boot-env),64k(art)ro,1472k(kernel),14592k(rootfs),16064k at 0x50000(firmware),16384k at 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))
More information about the lede-commits
mailing list