packagedata.py: Fix get_subpkgedata_fn for multilib
PATCH 1/1 packagedata.py: Fix get_subpkgedata_fn for multilib
Signed-off-by Matthew McClintock <[email protected]>
--- meta/lib/oe/packagedata.py | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-)
meta/lib/oe/packagedata.py +7 -0
@@ -27,6 +27,13 @@ def read_pkgdatafile(fn): def get_subpkgedata_fn(pkg, d): archs = d.expand("${PACKAGE_ARCHS}").split(" ") + mlarchs = d.expand("${MULTILIB_PACKAGE_ARCHS}", d).split(" ") + + for mlarch in mlarchs: + if "_" in mlarch: + prefix, new_arch = mlarch.split("_") + archs.append(new_arch) + archs.reverse() pkgdata = d.expand('${TMPDIR}/pkgdata/') targetdir = d.expand('${TARGET_VENDOR}-${TARGET_OS}/runtime/')
Signature · 1 line
1.7.6.1
PATCH v2 1/1 packagedata.py: Fix get_subpkgedata_fn for multilib
Signed-off-by Matthew McClintock <[email protected]>
--- meta/lib/oe/packagedata.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
meta/lib/oe/packagedata.py +8 -0
@@ -27,6 +27,14 @@ def read_pkgdatafile(fn): def get_subpkgedata_fn(pkg, d): archs = d.expand("${PACKAGE_ARCHS}").split(" ") + mlarchs = bb.data.getVar("MULTILIB_PACKAGE_ARCHS", d) or None + + if mlarchs: + for mlarch in mlarchs.split(" "): + if "_" in mlarch: + prefix, new_arch = mlarch.split("_") + archs.append(new_arch) + archs.reverse() pkgdata = d.expand('${TMPDIR}/pkgdata/') targetdir = d.expand('${TARGET_VENDOR}-${TARGET_OS}/runtime/')
Signature · 1 line
1.7.6.1
PATCH v2 1/1 packagedata.py: Fix get_subpkgedata_fn for multilib
Signed-off-by Matthew McClintock <[email protected]>
--- meta/lib/oe/packagedata.py | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
meta/lib/oe/packagedata.py +8 -0
@@ -27,6 +27,14 @@ def read_pkgdatafile(fn): def get_subpkgedata_fn(pkg, d): archs = d.expand("${PACKAGE_ARCHS}").split(" ") + mlarchs = bb.data.getVar("MULTILIB_PACKAGE_ARCHS", d) or None + + if mlarchs: + for mlarch in mlarchs.split(" "): + if "_" in mlarch: + prefix, split, new_arch = mlarch.partition("_") + archs.append(new_arch) + archs.reverse() pkgdata = d.expand('${TMPDIR}/pkgdata/') targetdir = d.expand('${TARGET_VENDOR}-${TARGET_OS}/runtime/')
Signature · 1 line
1.7.6.1
Ugh this is supposed to be v3.
-M
Quoted 33 lines · Matthew McClintock
Signed-off-by Matthew McClintock <[email protected]>---
meta/lib/oe/packagedata.py | 8 ++++++++1 files changed, 8 insertions(+), 0 deletions(-)meta/lib/oe/packagedata.py +0
-0@@ -27,6 +27,14 @@ def read_pkgdatafile(fn):def
get_subpkgedata_fn(pkg, d):
archs = d.expand("${PACKAGE_ARCHS}").split(" ")
+ mlarchs =bb.data.getVar("MULTILIB_PACKAGE_ARCHS", d)or Nonemeta/lib/oe/packagedata.py +7
-0+ + if mlarchs: + for mlarch in mlarchs.split(" "): + if "_" in mlarch: + prefix, split, new_arch = mlarch.partition("_") + archs.append(new_arch) +
archs.reverse()
pkgdata =d.expand('${TMPDIR}/pkgdata/')
targetdir =d.expand('${TARGET_VENDOR}-${TARGET_OS}/runtime/')--
1.7.6.1_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core