diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/devtool/standard.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index d14b7a6543..a45ad36812 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -509,6 +509,11 @@ def _extract_source(srctree, keep_temp, devbranch, sync, config, basepath, works | |||
509 | if not 'flag' in event: | 509 | if not 'flag' in event: |
510 | if event['op'].startswith(('_append[', '_prepend[')): | 510 | if event['op'].startswith(('_append[', '_prepend[')): |
511 | extra_overrides.append(event['op'].split('[')[1].split(']')[0]) | 511 | extra_overrides.append(event['op'].split('[')[1].split(']')[0]) |
512 | # We want to remove duplicate overrides. If a recipe had multiple | ||
513 | # SRC_URI_override += values it would cause mulitple instances of | ||
514 | # overrides. This doesn't play nicely with things like creating a | ||
515 | # branch for every instance of DEVTOOL_EXTRA_OVERRIDES. | ||
516 | extra_overrides = list(set(extra_overrides)) | ||
512 | if extra_overrides: | 517 | if extra_overrides: |
513 | logger.info('SRC_URI contains some conditional appends/prepends - will create branches to represent these') | 518 | logger.info('SRC_URI contains some conditional appends/prepends - will create branches to represent these') |
514 | 519 | ||