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:26:31 +0000 |
commit | 9ea7428e67a764185349bd5dd5ddafd1c33c3290 (patch) | |
tree | 2c4b6974095f141157e7ceacff40e99c340aaec5 /meta/classes/cross-canadian.bbclass | |
parent | 72e69328b383404c34dbd8725447024c788abe2b (diff) | |
download | poky-9ea7428e67a764185349bd5dd5ddafd1c33c3290.tar.gz |
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.
(From OE-Core rev: 8d042ea4e755cb0bb28b88333e10e04ec4e86a36)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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}" | |||
103 | HOST_AS_ARCH = "${SDK_AS_ARCH}" | 103 | HOST_AS_ARCH = "${SDK_AS_ARCH}" |
104 | 104 | ||
105 | #assign DPKG_ARCH | 105 | #assign DPKG_ARCH |
106 | DPKG_ARCH = "${SDK_ARCH}" | 106 | DPKG_ARCH = "${@debian_arch_map(d.getVar('SDK_ARCH', True), '')}" |
107 | 107 | ||
108 | CPPFLAGS = "${BUILDSDK_CPPFLAGS}" | 108 | CPPFLAGS = "${BUILDSDK_CPPFLAGS}" |
109 | CFLAGS = "${BUILDSDK_CFLAGS}" | 109 | CFLAGS = "${BUILDSDK_CFLAGS}" |