On Fri, Jul 19, 2024 at 07:12:43AM -0700, Raymond Mao wrote:

> Recently we are introducing multiple git subtree projects and
> it is the right time to have a universal script to update
> various subtrees and replace the dts/update-dts-subtree.sh.
> 
> update-subtree.sh is a wrapper of git subtree commands.
> 
> Usage: From U-Boot top directory,
> run
> $ ./tools/update-subtree.sh pull <subtree-name> <release-tag>
> for pulling a tag from the upstream.
> Or run
> $ ./tools/update-subtree.sh pick <subtree-name> <commit-id>
> for cherry-pick a commit from the upstream.
> 
> Currently <subtree-name> supports dts, mbedtls and lwip.
> 
> Signed-off-by: Raymond Mao <[email protected]>
> ---
>  dts/update-dts-subtree.sh | 48 ----------------------
>  tools/update-subtree.sh   | 86 +++++++++++++++++++++++++++++++++++++++
>  2 files changed, 86 insertions(+), 48 deletions(-)
>  delete mode 100755 dts/update-dts-subtree.sh
>  create mode 100755 tools/update-subtree.sh

This looks good, but please update the documentation as well.
We reference dts/update-dts-subtree.sh in doc/develop/devicetree/control.rst

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to