scripts/ext-tools: introduce new script to install prebuilt tools
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 30 Sep 2022 17:36:06 +0000 (19:36 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 4 Dec 2022 15:45:30 +0000 (16:45 +0100)
commit439e19de967bffcc7a9fa4d2e16e873a67b95738
treed50c4a2bf4bb1c7dee6f3bfb260ad7a220ac6e24
parentd419136ad5bfa0449083b1a07a9a265cea20dcd5
scripts/ext-tools: introduce new script to install prebuilt tools

Add a simple script to make it easier to install a prebuilt tools tar.
Currently it will be used by our tools container and kernel workflow on
github.

Simple script that take a tar that contains prebuilt host tools, extract
them and refresh the timestamps to skip recompilation of such host
tools.

By default it refresh timestamps of build_dir/host and
staging_dir/host/stamp.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 5428bdc2dfaa45bc7adc89c3b9224da7d21961d0)
scripts/ext-tools.sh [new file with mode: 0755]