It can often be useful to include additional debugging tools the
toolchain such as strace. Add an option to include an arbitrary path.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
--log)
do_log=1
;;
+ --extra=*)
+ extra_tools="$extra_tools ${1#--extra=}"
+ ;;
*)
break
;;
exit 1
fi
+for extra in $extra_tools; do
+ if test -x "$extra"; then
+ add_file "$extra"
+ else
+ print_output "'$extra' not found"
+ exit 1
+ fi
+done
+
link_rel ()
{
local target="$1"