]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 23 Apr 2021 08:18:03 +0000 (16:18 +0800)
commitd233735891872b73e66cb3ce9f73b9af4d32a186
treeabb05269c699c9f88d9bef562d656ab699b23e74
parent4d961d6b794b389f8a2d062d5e7c0ae1ddc49e36
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>
(cherry picked from commit 1c18225d3ef94a41fc073ae87c163b68e6d46571)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/externalsrc.bbclass