Developing lightweight computation at the DSG edge

Commit f802e522 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 9b889d94 a44a25a8
......@@ -202,6 +202,11 @@ build_sdk() {
download_sdk $target
}
[ -d "$sdk" && $refresh_release ] && {
echo "-> SDK for target $target found, uncompressing on top"
download_sdk $target
}
echo "-> Building $sdk"
[ -f "$feeds_file" ] || {
......@@ -459,9 +464,18 @@ make_qmp_release() {
# Update feeds if refresh_release is on
[ -n "$refresh_release" ] && update_feeds
# Remove downloaded IB and SDK files, if using trunk
[ -n "$refresh_release" ] && [ "$version" == "trunk" ] && rm -rf tmp/openwrt-imagebuilder-*.tar.xz tmp/openwrt-sdk-*.tar.xz
# Remove decompressed IB and SDK directories, if using trunk
[ -n "$refresh_release" ] && [ "$version" == "trunk" ] && rm -rf $release/*/*/sdk $release/*/*/ib
# Run snippets
./snippets/regdbus.sh
list_profiles "ar71xx/mikrotik"
./snippets/mikrotik-ath10k-ct.sh
# Build the SDK and the packages locally for each architecture
force_local=1
build_all_sdk
......@@ -537,7 +551,7 @@ make_qmp_release() {
[ -z "$1" ] && usage
OPTS=$(getopt -o hd:fb:c:d:i:j:rb: -l targets,build-all,download-all,profiles:,flavors,profile:,flavor:,\
update-feeds,no-update,no-link-ib,only-sdk,only-ib,remote,ib,sdk,sdk-file:,ib-file:,help,force,clean,\
communities,update-communities,community:,cook-all,package:,extra-pkg:,force-local -n $0 -- "$@")
communities,update-communities,community:,cook-all,package:,extra-pkg:,refresh,force-local -n $0 -- "$@")
eval set -- "$OPTS"
while true; do
......
SUPPORTED_PROFILES="alfa-nx alix bullet cf-wr800n dir-810l dragino2 lamobo-r1 linkit7688 mc-mac1200r microwrt miwifi-mini nslm5-xw nsm2 nsm5 nsm5-xw nslm5-xw pico2 rb921gs-5Hpacd-15s rocket-m rocket-m-xw rs rspro soekris45xx tl-2543-v1 tl-mr3020-v1 tl-mr3040-v1 tl-wa7510n tl-wdr3500-v1 tl-wdr3600 tl-wdr4300 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="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 tl-wdr4300 \
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"
EXTRAPKGS=""
FACTORY=""
......@@ -81,6 +89,16 @@ EXT4IMAGE=""
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == cpe510-520-v1 ] && {
NAME=TP-Link_CPE-510-520-v1
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_small
PROFILE=cpe510-520-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == nsm2 ] && {
NAME=Ubiquiti_NanoStation-M2
ARCH=ar71xx
......@@ -291,12 +309,12 @@ EXT4IMAGE=""
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
[ "$TPROFILE" == tl-wa7510n ] && {
NAME=TP-Link_TL-WA7510N
[ "$TPROFILE" == tl-wa7510n-v1 ] && {
NAME=TP-Link_TL-WA7510N-v1
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_cli
PROFILE=tl-wa7510n
PROFILE=tl-wa7510n-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -356,7 +374,7 @@ EXT4IMAGE=""
ARCH=ar71xx
SUBARCH=generic
FLAVOR=qmp_cli
PROFILE=-tl-wr740n-v1
PROFILE=tl-wr740n-v1
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
}
......@@ -461,7 +479,7 @@ EXT4IMAGE=""
NAME=Nexx_WT1520-4M
ARCH=ramips
SUBARCH=rt305x
FLAVOR=qmp_tiny
FLAVOR=qmp_cli
PROFILE=wt1520-4M
FACTORY=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTLEGACY-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......@@ -512,7 +530,7 @@ EXT4IMAGE=""
NAME=Nexx_WT3020-4M
ARCH=ramips
SUBARCH=mt7620
FLAVOR=qmp_tiny
FLAVOR=qmp_cli
PROFILE=wt3020-4M
FACTORY=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHFACTORY
SYSUPGRADE=$DISTCL-$FLAVOR-$ARCH-$SUBARCH-$PROFILE-$SQUASHSYSUPGRADE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment