summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-28 09:14:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-28 10:15:55 +0100
commitbbce0f0fed2e2e1a79ae28540915696c6383cd53 (patch)
treec2cc6e794ae07df429df4f1d7dbd6d0ba140ed39
parent9f60dfdaaa74b90ebcfcdd9f3817c62a56243e92 (diff)
downloadopenembedded-core-contrib-bbce0f0fed2e2e1a79ae28540915696c6383cd53.tar.gz
openembedded-core-contrib-bbce0f0fed2e2e1a79ae28540915696c6383cd53.tar.bz2
openembedded-core-contrib-bbce0f0fed2e2e1a79ae28540915696c6383cd53.zip
dpkg: Only set DEB_HOST_ARCH in target case
If we don't do this, the sstate checksums vary for dpkg-native depending on which MACHINE is set and this is clearly incorrect. It leads to dpkg-native rebuilding far too often. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/dpkg/dpkg.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 52a9bd7e2a..e8d8a9b4f7 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -33,7 +33,7 @@ EXTRA_OECONF = "\
"
EXTRA_OECONF += "TAR=tar"
-EXTRA_OECONF += "DEB_HOST_ARCH=${DPKG_ARCH}"
+EXTRA_OECONF_append_class-target = " DEB_HOST_ARCH=${DPKG_ARCH}"
do_configure () {
echo >> ${S}/m4/compiler.m4