summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 2c4c89a256..742f292307 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -1114,7 +1114,7 @@ python do_package_rpm () {
1114 targetsys = d.getVar('TARGET_SYS', True) 1114 targetsys = d.getVar('TARGET_SYS', True)
1115 targetvendor = d.getVar('TARGET_VENDOR', True) 1115 targetvendor = d.getVar('TARGET_VENDOR', True)
1116 package_arch = d.getVar('PACKAGE_ARCH', True) or "" 1116 package_arch = d.getVar('PACKAGE_ARCH', True) or ""
1117 if package_arch not in "all any noarch".split(): 1117 if package_arch not in "all any noarch".split() and not package_arch.endswith("-nativesdk"):
1118 ml_prefix = (d.getVar('MLPREFIX', True) or "").replace("-", "_") 1118 ml_prefix = (d.getVar('MLPREFIX', True) or "").replace("-", "_")
1119 d.setVar('PACKAGE_ARCH_EXTEND', ml_prefix + package_arch) 1119 d.setVar('PACKAGE_ARCH_EXTEND', ml_prefix + package_arch)
1120 else: 1120 else: