#!/bin/bash set -e GLUON_VERSION=v2018.2.3 CORES=$(expr $(nproc) + 1) make update OPTIONS="GLUON_BRANCH=stable BROKEN=1 DEFAULT_GLUON_RELEASE=0.10.12~$(date '+%Y%m')" make -j$CORES GLUON_TARGET=ar71xx-generic $OPTIONS make -j$CORES GLUON_TARGET=ar71xx-tiny $OPTIONS make -j$CORES GLUON_TARGET=ar71xx-nand $OPTIONS make -j$CORES GLUON_TARGET=brcm2708-bcm2708 $OPTIONS make -j$CORES GLUON_TARGET=brcm2708-bcm2709 $OPTIONS make -j$CORES GLUON_TARGET=mpc85xx-generic $OPTIONS make -j$CORES GLUON_TARGET=ramips-mt7621 $OPTIONS make -j$CORES GLUON_TARGET=sunxi-cortexa7 $OPTIONS make -j$CORES GLUON_TARGET=x86-generic $OPTIONS make -j$CORES GLUON_TARGET=x86-geode $OPTIONS make -j$CORES GLUON_TARGET=x86-64 $OPTIONS make -j$CORES GLUON_TARGET=ipq40xx $OPTIONS make -j$CORES GLUON_TARGET=ramips-mt7620 $OPTIONS make -j$CORES GLUON_TARGET=ramips-mt76x8 $OPTIONS make -j$CORES GLUON_TARGET=ramips-rt305x $OPTIONS make -j$CORES GLUON_TARGET=ar71xx-mikrotik $OPTIONS make -j$CORES GLUON_TARGET=brcm2708-bcm2710 $OPTIONS make -j$CORES GLUON_TARGET=ipq806x $OPTIONS make -j$CORES GLUON_TARGET=mvebu-cortexa9 $OPTIONS