Hi Tom,

On Tue, 2 Jul 2024 at 16:57, Tom Rini <tr...@konsulko.com> wrote:

> On Tue, Jul 02, 2024 at 11:22:38AM -0700, Raymond Mao wrote:
>
> > lib/mbedtls/update-mbedtls-subtree.sh is a wrapper of git subtree
> > commands.
> > Usage from U-Boot top directory, run:
> >
> > $ ./lib/mbedtls/update-mbedtls-subtree.sh pull <release-tag>
> > $ ./lib/mbedtls/update-mbedtls-subtree.sh pick <commit-id>
> >
> > Signed-off-by: Raymond Mao <raymond....@linaro.org>
> > ---
> > Changes in v2
> > - Initial patch.
> > Changes in v3
> > - None.
> > Changes in v4
> > - Minor fix and move the script into tools dir.
> >
> >  tools/update-mbedtls-subtree.sh | 47 +++++++++++++++++++++++++++++++++
> >  1 file changed, 47 insertions(+)
> >  create mode 100755 tools/update-mbedtls-subtree.sh
>
> Given how amazingly close this is to dts/update-dts-subtree.sh and also
> the lwIP version, can you and Jerome please co-ordinate on a short
> series that you can then both depend on a pre-req that makes, I don't
> know, tools/update-git-subtree.sh and that script takes upstream URI and
> whatever else would be needed so that all 3 of our "update or
> cherry-pick from a git subtree" scripts call that and are more or less
> one line scripts themselves? Thanks.
>
> I agree. This is a good idea. I can make a prerequisite patch to merge
these
3 scripts.

Regards,
Raymond

Reply via email to