Developing lightweight computation at the DSG edge

Commit 179fea47 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Merge branch 'master' into qmp7dev


Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parents 22238956 c67b4479
38c78f61d17d1a72772327e5211ccf7e Alfa-Network_N5
55db3889281dd35a9f7b63f5238f3347 Comfast_CF-E120A-v3
60e451f13cc6525beb9e74cb20fe1a9b Comfast_CF-WR800N
ad03deb0b12ca233350e0686c531735a D-Link_DIR-810L
68b329da9893e34099c7d8ad5cb9c940 Generic_x86-64
e54c82f7da6563637611b0a71c249305 Microduino_MicroWRT
5b93fa155e67ea4791b44d5c9714fc57 MikroTik_RB921GS-5HPacD-15S
9f2d5e175f4fb907730cadcbebf9df71 MikroTik_RBSXT5nDr2
14ceaea73ef6bda4e9598787528dd285 Nexx_WT1520-4M
ba9067da71a545413e7c8a5cbbd0a82d Nexx_WT3020-4M
d11c4c408a408f6a14c80b92d24af992 PC-Engines_Alix
......
......@@ -524,28 +524,28 @@ make_qmp_release() {
[ "$FACTORY" ] && {
echo "$NAME - FACTORY"
fw_file="$output_dir/$(echo $FACTORY | sed 's/_/-/g')"
fw_file="$output_dir/$(echo $FACTORY)"
output_file=$bin_output"/qMp_"$VERSION_NUMBER"-"$VERSION_NICK"_"$NAME"_factory_"$(date +%Y%m%d-%H%M)".bin"
echo cp "$fw_file" "$output_file"
cp "$fw_file" "$output_file"
}
[ "$SYSUPGRADE" ] && {
echo "$NAME - SYSUPGRADE"
fw_file="$output_dir/$(echo $SYSUPGRADE | sed 's/_/-/g')"
fw_file="$output_dir/$(echo $SYSUPGRADE)"
output_file=$bin_output"/qMp_"$VERSION_NUMBER"-"$VERSION_NICK"_"$NAME"_sysupgrade_"$(date +%Y%m%d-%H%M)".bin"
echo cp "$fw_file" "$output_file"
cp "$fw_file" "$output_file"
}
[ "$SQUASHIMAGE" ] && {
echo "$NAME - SQUASHIMAGE"
fw_file="$output_dir/$(echo $SQUASHIMAGE | sed 's/_/-/g')"
fw_file="$output_dir/$(echo $SQUASHIMAGE)"
output_file=$bin_output"/qMp_"$VERSION_NUMBER"-"$VERSION_NICK"_"$NAME"_combined-squashfs_"$(date +%Y%m%d-%H%M)"."$BINEXT
echo cp "$fw_file" "$output_file"
cp "$fw_file" "$output_file"
}
[ "$EXT4IMAGE" ] && {
echo "$NAME - EXT4IMAGE"
fw_file="$output_dir/$(echo $EXT4IMAGE | sed 's/_/-/g')"
fw_file="$output_dir/$(echo $EXT4IMAGE)"
output_file=$bin_output"/qMp_"$VERSION_NUMBER"-"$VERSION_NICK"_"$NAME"_combined-ext4_"$(date +%Y%m%d-%H%M)"."$BINEXT
echo cp "$fw_file" "$output_file"
cp "$fw_file" "$output_file"
......
# Flavors
openwrt_vanilla="luci"
qmp_cli="qmp-system -opkg -kmod-usb-core -kmod-usb-ledtrig-usbport -kmod-usb2 -ppp -ppp-mod-pppoe -6relayd -odhcp6c -odhcpd -ip6tables -firewall -wpad-mini"
qmp_tiny="qmp-tiny-node -opkg -kmod-usb-core -kmod-usb-ledtrig-usbport -kmod-usb2 -ppp -ppp-mod-pppoe -6relayd -odhcp6c -odhcpd -ip6tables -firewall -wpad-mini"
qmp_small="qmp-small-node opkg qmp-ncd -wpad-mini"
qmp_big="qmp-big-node opkg qmp-ncd qmp-ncgui -wpad-mini"
qmpcli="qmp-system -opkg -kmod-usb-core -kmod-usb-ledtrig-usbport -kmod-usb2 -ppp -ppp-mod-pppoe -6relayd -odhcp6c -odhcpd -ip6tables -firewall -wpad-mini -wpad-basic"
qmptiny="qmp-tiny-node -opkg -kmod-usb-core -kmod-usb-ledtrig-usbport -kmod-usb2 -ppp -ppp-mod-pppoe -6relayd -odhcp6c -odhcpd -ip6tables -firewall -wpad-mini -wpad-basic"
qmpsmall="qmp-small-node opkg qmp-ncd -wpad-mini -wpad-basic"
qmpbig="qmp-big-node opkg qmp-ncd qmp-ncgui -wpad-mini -wpad-basic"
SUPPORTED_PROFILES="alfa-nx alix bullet cf-wr800n cpe510-520-v1 dir-810l \
dragino2 lamobo-r1 linkit7688 mc-mac1200r microwrt miwifi-mini \
rb-nand-large-ac nslm5-xw nsm2 nsm5 nsm5-xw nslm5-xw pico2 rb921gs-5Hpacd-15s \
rbwapg-5hact2hnd rb-nor-flash-16M-ac rocket-m rocket-m-xw rs rspro soekris45xx \
tl-2543-v1 tl-mr3020-v1 tl-mr3040-v1 tl-wa7510n-v1 tl-wdr3500-v1 tl-wdr3600-v1 \
tl-wdr4300-v1 tl-wdr4310-v1 tl-wdr4900-v1 tl-wr703n-v1 tl-wr740n tl-wr743nd-v1 \
tl-wr841-v10 tl-wr841-v7 tl-wr841-v8 tl-wr841-v9 tl-wr842n-v1 uap-pro \
unifiac-lite unifi-ap vocore-16M vocore-8M wl-wn575a3 wrtnode wt1520-4M \
wt1520-8M wt3020-4M wt3020-8M x86 x86-64 zbt-ape522ii"
SUPPORTED_PROFILES="alix bullet cf-e120a-v3 cf-wr800n cpe510-520-v1 dir-810l \
dragino2 lap-120 lamobo-r1 linkit7688 mc-mac1200r microwrt miwifi-mini \
rb-nand-64m rb-nand-large rb-nand-large-ac nanostation-ac nanostation-ac-loco \
nslm5-xw nsm2 nsm5 nsm5-xw pico2 rb921gs-5Hpacd-15s \
rbwapg-5hact2hnd rb-nor-flash-16M-ac rocket-m rb-sxt5n \
rocket-m-xw rs rspro soekris45xx \
tl-2543-v1 tl-wdr3500-v1 tl-wdr3600-v1 \
tl-wdr4300-v1 tl-wdr4310-v1 tl-wdr4900-v1 \
tl-wr842n-v1 uap-pro \
unifiac-lite unifi-ap vocore-16M vocore-8M wl-wn575a3 wrtnode \
wt1520-8M wt3020-8M x86 x86-64 zbt-ape522ii"
EXTRAPKGS=""
FACTORY=""
......@@ -14,22 +16,12 @@ SYSUPGRADE=""
SQUASHIMAGE=""
EXT4IMAGE=""
[ "$TPROFILE" == "alfa-nx" ] && {
NAME=Alfa-Network_N5
ARCH=ar71xx
SUBARCH=generic
PROFILE=ALFANX
FLAVOR=qmp_small
FACTORY=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$TPROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$TPROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == "alix" ] && {
NAME=PC-Engines_Alix
ARCH=x86
SUBARCH=geode
PROFILE=Generic
FLAVOR=qmp_big
FLAVOR=qmpbig
SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
BINEXT=img.gz
......@@ -40,8 +32,8 @@ EXT4IMAGE=""
ARCH=x86
SUBARCH=generic
PROFILE=Generic
FLAVOR=qmp_big
EXTRAPKGS=kmod-ath9k
FLAVOR=qmpbig
EXTRAPKGS="kmod-ath9k kmod-e1000e"
SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
BINEXT=img.gz
......@@ -51,7 +43,7 @@ EXT4IMAGE=""
NAME=Generic_x86-64
ARCH=x86
SUBARCH=64
FLAVOR=qmp_big
FLAVOR=qmpbig
EXTRAPKGS=kmod-ath9k
PROFILE=Generic
SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
......@@ -64,7 +56,7 @@ EXT4IMAGE=""
ARCH=x86
SUBARCH=legacy
PROFILE=Generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
BINEXT=img.gz
......@@ -75,7 +67,17 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=generic
PROFILE=ubnt-bullet-m
FLAVOR=qmp_small
FLAVOR=qmpsmall
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == cf-e120a-v3 ] && {
NAME=Comfast_CF-E120A-v3
ARCH=ath79
SUBARCH=generic
PROFILE=comfast_cf-e120a-v3
FLAVOR=qmpsmall
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -85,7 +87,7 @@ EXT4IMAGE=""
ARCH=ramips
SUBARCH=mt7620
PROFILE=cf-wr800n
FLAVOR=qmp_small
FLAVOR=qmpsmall
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -94,18 +96,28 @@ EXT4IMAGE=""
NAME=TP-Link_CPE-510-520-v1
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=cpe510-520-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == lap-120 ] && {
NAME=Ubiquiti_LiteAP-AC-120
ARCH=ath79
SUBARCH=generic
PROFILE=ubnt_lap-120
FLAVOR=qmpsmall
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == nsm2 ] && {
NAME=Ubiquiti_NanoStation-M2
ARCH=ar71xx
SUBARCH=generic
PROFILE=ubnt-nano-m
FLAVOR=qmp_small
FLAVOR=qmpsmall
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -115,7 +127,7 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=generic
PROFILE=ubnt-nano-m
FLAVOR=qmp_small
FLAVOR=qmpsmall
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -125,7 +137,7 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=generic
PROFILE=ubnt-nano-m-xw
FLAVOR=qmp_small
FLAVOR=qmpsmall
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -135,7 +147,27 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=generic
PROFILE=ubnt-loco-m-xw
FLAVOR=qmp_small
FLAVOR=qmpsmall
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == nanostation-ac ] && {
NAME=Ubiquiti_NanoStation-AC
ARCH=ath79
SUBARCH=generic
PROFILE=ubnt_nanostation-ac
FLAVOR=qmpsmall
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == nanostation-ac-loco ] && {
NAME=Ubiquiti_NanoStation-AC-loco
ARCH=ath79
SUBARCH=generic
PROFILE=ubnt_nanostation-ac-loco
FLAVOR=qmpsmall
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -145,18 +177,36 @@ EXT4IMAGE=""
ARCH=sunxi
SUBARCH=cortexa7
PROFILE=sun7i-a20-lamobo-r1
FLAVOR=qmp_big
FLAVOR=qmpbig
SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFSSDCARD
EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$EXT4SDCARD
BINEXT=img.gz
}
[ "$TPROFILE" == rb-nand-64m ] && {
NAME=MikroTik_RouterBoard_NAND_flash
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-64m
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == rb-nand-large ] && {
NAME=MikroTik_RouterBoard_NAND_large_flash
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == rb-nand-large-ac ] && {
NAME=MikroTik_RouterBoard_large_NAND_flash_802.11ac
NAME=MikroTik_RouterBoard_NAND_large_flash_802.11ac
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large-ac
FLAVOR=qmp_small
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -165,7 +215,7 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=rb-nor-flash-16M-ac
FLAVOR=qmp_small
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -174,7 +224,7 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large-ac
FLAVOR=qmp_small
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -183,7 +233,16 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=rb-nor-flash-16M-ac
FLAVOR=qmp_small
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == rb-sxt5n ] && {
NAME=MikroTik_RBSXT5nDr2
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -191,7 +250,7 @@ EXT4IMAGE=""
NAME=Ubiquiti_Rocket-M5-XW
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=ubnt-rocket-m-xw
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -201,7 +260,7 @@ EXT4IMAGE=""
NAME=Ubiquiti_PicoStation-2
ARCH=ath25
SUBARCH=generic
FLAVOR=qmp_tiny
FLAVOR=qmptiny
PROFILE=ubnt2-pico2
FACTORY=$DISTCL-$FLAVOR-$ARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -211,7 +270,7 @@ EXT4IMAGE=""
NAME=Ubiquiti_Rocket-M
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=ubnt-rocket-m
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -221,7 +280,7 @@ EXT4IMAGE=""
NAME=Ubiquiti_RouterStation
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_big
FLAVOR=qmpbig
PROFILE=ubnt-rs
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -231,7 +290,7 @@ EXT4IMAGE=""
NAME=Ubiquiti_RouterStation-Pro
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_big
FLAVOR=qmpbig
PROFILE=ubnt-rspro
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -241,7 +300,7 @@ EXT4IMAGE=""
NAME=TP-Link_TL-WR2543ND-v1
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=tl-wr2543-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -251,107 +310,27 @@ EXT4IMAGE=""
NAME=Mercury_MAC1200R
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=mc-mac1200r
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-wr841-v7 ] && {
NAME=TP-Link_TL-WR841-v7
ARCH=ar71xx
SUBARCH=tiny
FLAVOR=qmp_cli
PROFILE=tl-wr841-v7
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-wr841-v8 ] && {
NAME=TP-Link_TL-WR841-v8
ARCH=ar71xx
SUBARCH=tiny
FLAVOR=qmp_cli
PROFILE=tl-wr841-v8
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-wr841-v9 ] && {
NAME=TP-Link_TL-WR841-v9
ARCH=ar71xx
SUBARCH=tiny
FLAVOR=qmp_cli
PROFILE=tl-wr841-v9
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-wr841-v10 ] && {
NAME=TP-Link_TL-WR841-v10
ARCH=ar71xx
SUBARCH=tiny
FLAVOR=qmp_cli
PROFILE=tl-wr841-v10
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-wr842n-v1 ] && {
NAME=TP-Link_TL-WR842N-v1
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=tl-wr842n-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-wr703n-v1 ] && {
NAME=TP-Link_TL-WR703N-v1
ARCH=ar71xx
SUBARCH=tiny
FLAVOR=qmp_cli
PROFILE=tl-wr703n-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-mr3020-v1 ] && {
NAME=TP-Link_TL-MR3020-v1
ARCH=ar71xx
SUBARCH=tiny
FLAVOR=qmp_cli
PROFILE=tl-mr3020-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-mr3040-v1 ] && {
NAME=TP-Link_TL-MR3040-v1
ARCH=ar71xx
SUBARCH=tiny
FLAVOR=qmp_cli
PROFILE=tl-mr3040-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-wa7510n-v1 ] && {
NAME=TP-Link_TL-WA7510N-v1
ARCH=ar71xx
SUBARCH=tiny
FLAVOR=qmp_cli
PROFILE=tl-wa7510n-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-wdr3500-v1 ] && {
NAME=TP-Link_TL-WDR3500-v1
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_big
FLAVOR=qmpbig
PROFILE=tl-wdr3500-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -361,7 +340,7 @@ EXT4IMAGE=""
NAME=TP-Link_TL-WDR3600-v1
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_big
FLAVOR=qmpbig
PROFILE=tl-wdr3600-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -371,7 +350,7 @@ EXT4IMAGE=""
NAME=TP-Link_TL-WDR4300-v1
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_big
FLAVOR=qmpbig
PROFILE=tl-wdr4300-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -381,7 +360,7 @@ EXT4IMAGE=""
NAME=TP-Link_TL-WDR4310-v1
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_big
FLAVOR=qmpbig
PROFILE=tl-wdr4310-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -391,37 +370,17 @@ EXT4IMAGE=""
NAME=TP-Link_TL-WDR4900-v1
ARCH=mpc85xx
SUBARCH=generic
FLAVOR=qmp_big
FLAVOR=qmpbig
PROFILE=tl-wdr4900-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-wr743nd-v1 ] && {
NAME=TP-Link_TL-WR743ND-v1
ARCH=ar71xx
SUBARCH=tiny
FLAVOR=qmp_cli
PROFILE=tl-wr743nd-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-wr740n ] && {
NAME=TP-Link_TL-WR740N-v1
ARCH=ar71xx
SUBARCH=tiny
FLAVOR=qmp_cli
PROFILE=tl-wr740n-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == dragino2 ] && {
NAME=Dragino_MS14
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=dragino2
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -430,7 +389,7 @@ EXT4IMAGE=""
NAME=Compex_WPE72-8M
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=WPE72_8M
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-factory.img
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-wpe72-squashfs-8M-sysupgrade.img
......@@ -440,7 +399,7 @@ EXT4IMAGE=""
NAME=Ubiquiti_UniFi-AP-AC-Lite
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=ubnt-unifiac-lite
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -449,7 +408,7 @@ EXT4IMAGE=""
NAME=Ubiquiti_UniFi-AP
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=ubnt-unifi
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -459,7 +418,7 @@ EXT4IMAGE=""
NAME=Ubiquiti_UniFi-AP-PRO
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=ubnt-uap-pro
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -469,7 +428,7 @@ EXT4IMAGE=""
NAME=Vonger_VoCore-8M
ARCH=ramips
SUBARCH=rt305x
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=vocore-8M
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -479,7 +438,7 @@ EXT4IMAGE=""
NAME=Vonger_VoCore-16M
ARCH=ramips
SUBARCH=rt305x
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=vocore-16M
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -489,7 +448,7 @@ EXT4IMAGE=""
NAME=Microduino_MicroWRT
ARCH=ramips
SUBARCH=mt7620
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=microwrt
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -499,7 +458,7 @@ EXT4IMAGE=""
NAME=Wavlink_WL-WN575A3
ARCH=ramips
SUBARCH=mt76x8
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=wl-wn575a3
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -508,26 +467,16 @@ EXT4IMAGE=""
NAME=LinkIt_Smart-7688
ARCH=ramips
SUBARCH=mt76x8
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=LinkIt7688
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == wt1520-4M ] && {
NAME=Nexx_WT1520-4M
ARCH=ramips
SUBARCH=rt305x
FLAVOR=qmp_cli
PROFILE=wt1520-4M
FACTORY=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == wt1520-8M ] && {
NAME=Nexx_WT1520-8M
ARCH=ramips
SUBARCH=rt305x
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=rt5350-qmp-small-node
PROFILE=wt1520-8M
FACTORY=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
......@@ -538,7 +487,7 @@ EXT4IMAGE=""
NAME=D-Link_DIR-810L
ARCH=ramips
SUBARCH=mt7620
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=dir-810l
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE