Developing lightweight computation at the DSG edge

Commit f4d07ec7 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

Merge branch 'master' into testing


Signed-off-by: default avatarRoger Pueyo Centelles <roger.pueyo@guifi.net>
parents 07c30c9f fcc9cac5
......@@ -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 \
SUPPORTED_PROFILES="alix bullet 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 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"
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=""
......@@ -15,22 +15,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
......@@ -41,7 +31,7 @@ EXT4IMAGE=""
ARCH=x86
SUBARCH=generic
PROFILE=Generic
FLAVOR=qmp_big
FLAVOR=qmpbig
EXTRAPKGS=kmod-ath9k kmod-e1000e
SQUASHIMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDSQUASHIMG
EXT4IMAGE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$COMBINEDEXT4IMG
......@@ -52,7 +42,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
......@@ -65,7 +55,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
......@@ -76,7 +66,7 @@ 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
}
......@@ -86,7 +76,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
}
......@@ -95,18 +85,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
}
......@@ -116,7 +116,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
}
......@@ -126,7 +126,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
}
......@@ -136,27 +136,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=ar71xx
ARCH=ath79
SUBARCH=generic
PROFILE=ubnt_nanostation-ac
FLAVOR=qmp_small
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=ar71xx
ARCH=ath79
SUBARCH=generic
PROFILE=ubnt_nanostation-ac-loco
FLAVOR=qmp_small
FLAVOR=qmpsmall
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -166,7 +166,7 @@ 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
......@@ -177,7 +177,7 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-64m
FLAVOR=qmp_small
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -186,7 +186,7 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large
FLAVOR=qmp_small
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -195,7 +195,7 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large-ac
FLAVOR=qmp_small
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -204,7 +204,7 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=rb-nor-flash-16M-ac
FLAVOR=qmp_small
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -213,7 +213,7 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=nand-large-ac
FLAVOR=qmp_small
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -222,7 +222,7 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=mikrotik
PROFILE=rb-nor-flash-16M-ac
FLAVOR=qmp_small
FLAVOR=qmpsmall
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -230,7 +230,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
......@@ -240,7 +240,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
......@@ -250,7 +250,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
......@@ -260,7 +260,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
......@@ -270,7 +270,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
......@@ -280,7 +280,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
......@@ -290,107 +290,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
......@@ -400,7 +320,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
......@@ -410,7 +330,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
......@@ -420,7 +340,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
......@@ -430,37 +350,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
}
......@@ -469,7 +369,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
......@@ -479,7 +379,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
}
......@@ -488,7 +388,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
......@@ -498,7 +398,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
......@@ -508,7 +408,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
......@@ -518,7 +418,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
......@@ -528,7 +428,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
......@@ -538,7 +438,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
}
......@@ -547,26 +447,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
......@@ -577,7 +467,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
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -587,7 +477,7 @@ EXT4IMAGE=""
NAME=Xiaomi_MiWiFi-Mini
ARCH=ramips
SUBARCH=mt7620
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=miwifi-mini
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -597,27 +487,17 @@ EXT4IMAGE=""
NAME=WRTnode_WRTnode
ARCH=ramips
SUBARCH=mt7620
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=wrtnode
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == wt3020-4M ] && {
NAME=Nexx_WT3020-4M
ARCH=ramips
SUBARCH=mt7620
FLAVOR=qmp_cli
PROFILE=wt3020-4M
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == wt3020-8M ] && {
NAME=Nexx_WT3020-8M
ARCH=ramips
SUBARCH=mt7620
FLAVOR=qmp_small
FLAVOR=qmpsmall
PROFILE=wt3020-8M
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -627,7 +507,7 @@ EXT4IMAGE=""