mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
icecc-create-env: Add extra tools option
It can often be useful to include additional debugging tools the toolchain such as strace. Add an option to include an arbitrary path. (From OE-Core rev: 1fc1e3d59afd292ff8f7c4e1f64324134b73b8f4) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f8ba27d135
commit
2400cbbfbc
@@ -197,6 +197,9 @@ while test -n "$1"; do
|
|||||||
--log)
|
--log)
|
||||||
do_log=1
|
do_log=1
|
||||||
;;
|
;;
|
||||||
|
--extra=*)
|
||||||
|
extra_tools="$extra_tools ${1#--extra=}"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
break
|
break
|
||||||
;;
|
;;
|
||||||
@@ -284,6 +287,15 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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 ()
|
link_rel ()
|
||||||
{
|
{
|
||||||
local target="$1"
|
local target="$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user