Files @ efe960906ce4
Branch filter:

Location: freifunk/Firmware-building/build_script/build-all-targets.sh

x
experimental: remove x86 modules

The modules were ported from an older config, unknown if needed.
site-ffda (Darmstadt) seems not not use them, or have any mention of
them. Additionally, we do not currently have any x86 devices in the
network.

Removal of legacy info makes the config easier to grasp.
#!/bin/bash

if [[ $EUID -eq 0 ]]; then
  echo "cannot be run as root"
  exit
fi

# detect amount of CPU cores
CORES=$(lscpu|grep -e '^CPU(s):'|xargs|cut -d" " -f2)
#CORES=1

# build all regular targets
for TARGET in $(make list-targets); do
  make -j$CORES GLUON_TARGET=$TARGET GLUON_DEPRECATED=0 BROKEN=1 V=s
done

make -j$CORES GLUON_TARGET=brcm2708-bcm2710 GLUON_DEPRECATED=0 BROKEN=1 V=s
make -j$CORES GLUON_TARGET=ar71xx-mikrotik GLUON_DEPRECATED=0 BROKEN=1 V=s