On 7/2/24 22:56, Tom Rini 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.

Sounds like a good idea :)

Raymond, FYI the lwIP series is at [1]. I will make sure I CC you on the
next iteration BTW ;-). All the information about the subtree is in the
cover letter and that's basically:

  $ git subtree add --squash --prefix lib/lwip/lwip \
        https://git.savannah.gnu.org/git/lwip.git STABLE-2_2_0_RELEASE

[1] 
https://lore.kernel.org/u-boot/3c2b8a90-1d4d-41ac-a15a-0d3b2a7d2...@linaro.org/T/

Thanks,
-- 
Jerome

Reply via email to