Add --bpf-out-dir argument to control where the final build products land (#13099)

(cherry picked from commit b169d9cfbe)

Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
mergify[bot]
2020-10-23 07:56:35 +00:00
committed by GitHub
parent be2ace47e3
commit dd33aae3cf
5 changed files with 47 additions and 25 deletions

View File

@@ -29,6 +29,11 @@ if ! command -v readelf > /dev/null; then
exit 1
fi
set -e
out_dir=$(dirname "$dump")
if [[ ! -d $out_dir ]]; then
mkdir -p "$out_dir"
fi
dump_mangled=$dump.mangled
(