Add --bpf-out-dir argument to control where the final build products land

This commit is contained in:
Michael Vines
2020-10-22 17:10:42 -07:00
committed by mergify[bot]
parent 4669fa0f98
commit b169d9cfbe
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
(