]> code.ossystems Code Review - openembedded-core.git/commit
externalsrc: Detect code changes in submodules
authorDouglas Royds <douglas.royds@taitradio.com>
Thu, 8 Apr 2021 01:08:55 +0000 (13:08 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 18 Apr 2021 10:29:05 +0000 (11:29 +0100)
commit1c18225d3ef94a41fc073ae87c163b68e6d46571
treed83c318ba28b12fb5105cc2573e73fa9565e3188
parent2055718fdd19f925e236d67823017323bbd92a4b
externalsrc: Detect code changes in submodules

Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our source subtree.

[YOCTO #14333]

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/externalsrc.bbclass