diff options
-rw-r--r-- | classes/machine-overrides-extender.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/machine-overrides-extender.bbclass b/classes/machine-overrides-extender.bbclass index 876ddd10..82bb4543 100644 --- a/classes/machine-overrides-extender.bbclass +++ b/classes/machine-overrides-extender.bbclass | |||
@@ -12,13 +12,13 @@ | |||
12 | # | 12 | # |
13 | # MACHINEOVERRIDES_EXTENDER_FILTER_OUT:override = "group1 group2" | 13 | # MACHINEOVERRIDES_EXTENDER_FILTER_OUT:override = "group1 group2" |
14 | # | 14 | # |
15 | # Copyright 2016-2018 (C) O.S. Systems Software LTDA. | 15 | # Copyright 2016-2018, 2022 (C) O.S. Systems Software LTDA. |
16 | 16 | ||
17 | def machine_overrides_extender(d): | 17 | def machine_overrides_extender(d): |
18 | machine_overrides = (d.getVar('PRISTINE_MACHINEOVERRIDES') or '').split(':') | 18 | machine_overrides = (d.getVar('PRISTINE_MACHINEOVERRIDES') or '').split(':') |
19 | 19 | ||
20 | # Gather the list of overrides to filter out | 20 | # Gather the list of overrides to filter out |
21 | machine_overrides_filter_out = [] | 21 | machine_overrides_filter_out = (d.getVar('MACHINEOVERRIDES_EXTENDER_FILTER_OUT') or '').split() |
22 | for override in machine_overrides: | 22 | for override in machine_overrides: |
23 | machine_overrides_filter_out += (d.getVar('MACHINEOVERRIDES_EXTENDER_FILTER_OUT:%s' % override) or '').split() | 23 | machine_overrides_filter_out += (d.getVar('MACHINEOVERRIDES_EXTENDER_FILTER_OUT:%s' % override) or '').split() |
24 | 24 | ||