#!/usr/bin/env bash # jenkins build helper script for osmo-e1-hardware. This is how we build on jenkins.osmocom.org # # environment variables: # * PUBLISH: upload manuals after building if set to "1" (ignored without WITH_MANUALS = "1") # * JOB_TYPE: one of "firmware", "gateware", "manuals", "software" # # We assume that PATH includes the path to the respective toolchain. # The argument '--publish' is used to trigger publication/upload of firmware. set -e TOPDIR=`pwd` publish="$1" cat > "/build/known_hosts" <