diff options
author | Matt Madison <matt@madison.systems> | 2016-01-06 04:21:33 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-11 23:23:17 +0000 |
commit | 8d042ea4e755cb0bb28b88333e10e04ec4e86a36 (patch) | |
tree | 93ea5a3ff2ec435545eb22006d1e208075caef6a /meta/classes/cross-canadian.bbclass | |
parent | bcb5a6866e9233bcb69a9ee06faed622280a6c22 (diff) | |
download | openembedded-core-8d042ea4e755cb0bb28b88333e10e04ec4e86a36.tar.gz openembedded-core-8d042ea4e755cb0bb28b88333e10e04ec4e86a36.tar.bz2 openembedded-core-8d042ea4e755cb0bb28b88333e10e04ec4e86a36.zip |
package_deb.bbclass, cross-canadian.bbclass: DPKG_ARCH mapping function
Have DPKG_ARCH set by directly invoking a mapping function, rather
than using an anonymous Python function modify the variable under
the hood, so we can have proper handling of overrides.
Also bring in some additional mappings to Debian architecture names
that weren't being handled.
Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/cross-canadian.bbclass')
-rw-r--r-- | meta/classes/cross-canadian.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/cross-canadian.bbclass b/meta/classes/cross-canadian.bbclass index 7b26ed631b..e07b1bdb6c 100644 --- a/meta/classes/cross-canadian.bbclass +++ b/meta/classes/cross-canadian.bbclass @@ -103,7 +103,7 @@ HOST_LD_ARCH = "${SDK_LD_ARCH}" HOST_AS_ARCH = "${SDK_AS_ARCH}" #assign DPKG_ARCH -DPKG_ARCH = "${SDK_ARCH}" +DPKG_ARCH = "${@debian_arch_map(d.getVar('SDK_ARCH', True), '')}" CPPFLAGS = "${BUILDSDK_CPPFLAGS}" CFLAGS = "${BUILDSDK_CFLAGS}" |