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.

(From OE-Core rev: bbce0f0fed2e2e1a79ae28540915696c6383cd53)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2016-09-28 09:14:55 +01:00
parent 93d4250c2b
commit f420227ad7

View File

@@ -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