diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-28 09:14:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-28 10:16:04 +0100 |
commit | f420227ad709b2ab2b5b34f0a2375e7a945640c5 (patch) | |
tree | 300c8096367d7f7106d55d49579ddd4430740874 | |
parent | 93d4250c2b2b2b200579d9b81a56c3dac467b10d (diff) | |
download | poky-f420227ad709b2ab2b5b34f0a2375e7a945640c5.tar.gz |
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>
-rw-r--r-- | meta/recipes-devtools/dpkg/dpkg.inc | 2 |
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 = "\ | |||
33 | " | 33 | " |
34 | 34 | ||
35 | EXTRA_OECONF += "TAR=tar" | 35 | EXTRA_OECONF += "TAR=tar" |
36 | EXTRA_OECONF += "DEB_HOST_ARCH=${DPKG_ARCH}" | 36 | EXTRA_OECONF_append_class-target = " DEB_HOST_ARCH=${DPKG_ARCH}" |
37 | 37 | ||
38 | do_configure () { | 38 | do_configure () { |
39 | echo >> ${S}/m4/compiler.m4 | 39 | echo >> ${S}/m4/compiler.m4 |