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 <[email protected]> --- .../icecc-create-env/icecc-create-env/icecc-create-env | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env b/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env index b88c53a424b..64b5e207853 100755 --- a/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env +++ b/meta/recipes-devtools/icecc-create-env/icecc-create-env/icecc-create-env @@ -197,6 +197,9 @@ while test -n "$1"; do --log) do_log=1 ;; + --extra=*) + extra_tools="$extra_tools ${1#--extra=}" + ;; *) break ;; @@ -284,6 +287,15 @@ else 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" -- 2.14.3 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
