diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-27 10:11:54 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-10-28 05:31:42 +0000 |
commit | 2812d5012820a269d9c8c7dde961f13c2a034b93 (patch) | |
tree | f4d636428034962d51ad8a2c6ad6824c8e7e7c97 /meta | |
parent | c79f8c1513938deff3ca2aaa8c8727ed3be1b718 (diff) | |
download | poky-2812d5012820a269d9c8c7dde961f13c2a034b93.tar.gz |
qemu: Avoid potential build configuration contamination
Changing the gl options to qemu doesn't result in a correctly rebuilt
binary, the GL linkage can persist from a build where it was enabled
to one where it was not.
As well as clearly being incorrect and non-reproducible, this caused
some mystery failures on the autobuilder.
Cleaning ${B} at do_configure time avoids this. Most recipes
(e.g. autotools derived ones) already clean ${B} as appropriate and
avoid this issue.
(From OE-Core rev: b91b30c09ffbcd81e8dcaae832b3ae4f61046236)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index bb444b63d9..601fc2286b 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc | |||
@@ -95,6 +95,7 @@ do_configure_prepend_class-native() { | |||
95 | do_configure() { | 95 | do_configure() { |
96 | ${S}/configure ${EXTRA_OECONF} | 96 | ${S}/configure ${EXTRA_OECONF} |
97 | } | 97 | } |
98 | do_configure[cleandirs] += "${B}" | ||
98 | 99 | ||
99 | do_install () { | 100 | do_install () { |
100 | export STRIP="" | 101 | export STRIP="" |