diff options
author | Ross Burton <ross.burton@intel.com> | 2015-11-16 23:18:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-11-24 15:50:25 +0000 |
commit | 95719b00fb0584af6c1291dc2811eccc96b9f99e (patch) | |
tree | c0a3515f84a340074d2e6e943d8f82d6eed63f30 /meta | |
parent | 1b25a70991589ed1f123015c16ee4806c46e3199 (diff) | |
download | poky-95719b00fb0584af6c1291dc2811eccc96b9f99e.tar.gz |
ptest-gnome: extend EXTRA_OECONF in all builds, not just target
This class was extending EXTRA_OECONF only in target builds with
--enable/--disable-installed-tests. However for native builds we don't care
about the test suite and should be explicitly disabling it.
This stops glib-2.0-native trying to build the test suite that we'll never
execute.
(From OE-Core rev: 926a8365b4f7233e5ab5a6b97e8ed53f417c0cfc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/ptest-gnome.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/ptest-gnome.bbclass b/meta/classes/ptest-gnome.bbclass index b2949af9bb..478a33474d 100644 --- a/meta/classes/ptest-gnome.bbclass +++ b/meta/classes/ptest-gnome.bbclass | |||
@@ -1,6 +1,6 @@ | |||
1 | inherit ptest | 1 | inherit ptest |
2 | 2 | ||
3 | EXTRA_OECONF_append_class-target = " ${@bb.utils.contains('PTEST_ENABLED', '1', '--enable-installed-tests', '--disable-installed-tests', d)}" | 3 | EXTRA_OECONF_append = " ${@bb.utils.contains('PTEST_ENABLED', '1', '--enable-installed-tests', '--disable-installed-tests', d)}" |
4 | 4 | ||
5 | FILES_${PN}-ptest += "${libexecdir}/installed-tests/ \ | 5 | FILES_${PN}-ptest += "${libexecdir}/installed-tests/ \ |
6 | ${datadir}/installed-tests/" | 6 | ${datadir}/installed-tests/" |