forked from public/airgap
1
0
Fork 0
airgap/scripts/build

13 lines
289 B
Plaintext
Raw Normal View History

#!/bin/bash
[ -f /.dockerenv ] || { echo "please run in supplied container"; exit 1; }
set -e; source environment
target=${TARGET?}
2020-06-29 22:55:34 +00:00
build_dir="${BUILD_DIR?}"
buildroot_dir="${build_dir}/buildroot"
heads_dir="${build_dir}/heads"
2020-06-29 22:55:34 +00:00
(cd "${heads_dir}"; make )
(cd "${buildroot_dir}"; make )