diff options
Diffstat (limited to 'meta/classes/devtool-source.bbclass')
-rw-r--r-- | meta/classes/devtool-source.bbclass | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/devtool-source.bbclass b/meta/classes/devtool-source.bbclass index 41900e651f..4158c20c7e 100644 --- a/meta/classes/devtool-source.bbclass +++ b/meta/classes/devtool-source.bbclass | |||
@@ -1,3 +1,9 @@ | |||
1 | # | ||
2 | # Copyright OpenEmbedded Contributors | ||
3 | # | ||
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
6 | |||
1 | # Development tool - source extraction helper class | 7 | # Development tool - source extraction helper class |
2 | # | 8 | # |
3 | # NOTE: this class is intended for use by devtool and should not be | 9 | # NOTE: this class is intended for use by devtool and should not be |
@@ -226,6 +232,9 @@ python devtool_post_patch() { | |||
226 | bb.process.run('git rebase devtool-no-overrides', cwd=srcsubdir) | 232 | bb.process.run('git rebase devtool-no-overrides', cwd=srcsubdir) |
227 | bb.process.run('git checkout %s' % devbranch, cwd=srcsubdir) | 233 | bb.process.run('git checkout %s' % devbranch, cwd=srcsubdir) |
228 | bb.process.run('git tag -f devtool-patched', cwd=srcsubdir) | 234 | bb.process.run('git tag -f devtool-patched', cwd=srcsubdir) |
235 | if os.path.exists(os.path.join(srcsubdir, '.gitmodules')): | ||
236 | bb.process.run('git submodule foreach --recursive "git tag -f devtool-patched"', cwd=srcsubdir) | ||
237 | |||
229 | } | 238 | } |
230 | 239 | ||
231 | python devtool_post_configure() { | 240 | python devtool_post_configure() { |