]> git.dujemihanovic.xyz Git - u-boot.git/commit
tools: Add script to update git subtree projects
authorRaymond Mao <raymond.mao@linaro.org>
Thu, 25 Jul 2024 13:57:51 +0000 (06:57 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 31 Jul 2024 17:20:36 +0000 (11:20 -0600)
commitc502d7ada25ab21cc04e1df62fd22af5c8360275
treef5b431e1629326bdbbc41514329817ecb0aa7de7
parentb2345dbdaa864b71cd58bd20b1b9e8440de639c7
tools: Add script to update git subtree projects

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 <raymond.mao@linaro.org>
doc/develop/devicetree/control.rst
dts/update-dts-subtree.sh [deleted file]
tools/update-subtree.sh [new file with mode: 0755]