summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/package_manager.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index dfcb0ef783..49b5ac8e75 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -187,19 +187,18 @@ class RpmPM(PackageManager):
187 self.ml_os_list['default']) 187 self.ml_os_list['default'])
188 188
189 # List must be prefered to least preferred order 189 # List must be prefered to least preferred order
190 default_platform_extra = list() 190 default_platform_extra = set()
191 platform_extra = list() 191 platform_extra = set()
192 bbextendvariant = self.d.getVar('BBEXTENDVARIANT', True) or "" 192 bbextendvariant = self.d.getVar('BBEXTENDVARIANT', True) or ""
193 for mlib in self.ml_os_list: 193 for mlib in self.ml_os_list:
194 for arch in self.ml_prefix_list[mlib]: 194 for arch in self.ml_prefix_list[mlib]:
195 plt = arch.replace('-', '_') + '-.*-' + self.ml_os_list[mlib] 195 plt = arch.replace('-', '_') + '-.*-' + self.ml_os_list[mlib]
196 if mlib == bbextendvariant: 196 if mlib == bbextendvariant:
197 if plt not in default_platform_extra: 197 default_platform_extra.add(plt)
198 default_platform_extra.append(plt)
199 else: 198 else:
200 if plt not in platform_extra: 199 platform_extra.add(plt)
201 platform_extra.append(plt) 200
202 platform_extra = default_platform_extra + platform_extra 201 platform_extra = platform_extra.union(default_platform_extra)
203 202
204 self._create_configs(platform, platform_extra) 203 self._create_configs(platform, platform_extra)
205 204