diff options
author | Mike Crowe <mac@mcrowe.com> | 2025-07-02 11:56:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-07 22:12:50 +0100 |
commit | 7ec0bdc24a5a9eef5aeba13b00774b6e3e1eaa64 (patch) | |
tree | 7b8eba4e18037f618cc3174f8391761ca7e88bd3 /scripts/lib | |
parent | 08c8e9066dc9a4e015713e6f6cc072f123d26645 (diff) | |
download | poky-7ec0bdc24a5a9eef5aeba13b00774b6e3e1eaa64.tar.gz |
externalsrc: Always ask Git for location of .git directory
externalsrc_configure_prefunc assumed that the .git directory is
${S}/.git. This isn't true for submodules at least.
srctree_hash_files already contained code to ask Git for the correct
path to the .git directory. Let's move that code to a new find_git_dir
function and call it from both places and make the behaviour consistent.
(From OE-Core rev: 47891e200e92ba34a6ff2df2fba1032738f52f98)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions