]> 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)
committerSteve Sakoman <steve@sakoman.com>
Wed, 21 Apr 2021 13:52:04 +0000 (03:52 -1000)
commitd621b7c0ce0a99035de7e503596a3e36dc44b76f
tree3ffe75bb376af31a7e018b1a982b5237b91213f8
parent5c374996745816fcbbafbde75f10f4b6e41479b2
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: Steve Sakoman <steve@sakoman.com>
meta/classes/externalsrc.bbclass