diff options
author | Björn Stenberg <bjst@enea.com> | 2012-12-19 17:18:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-26 11:34:05 +0000 |
commit | ddce381e78c92e0881c73f21d97af0264b3d47e0 (patch) | |
tree | 69bd1c36720d77bf9c3b51879859b836658e1894 /meta/recipes-core/glib-2.0/glib.inc | |
parent | daad0d8dda05546385186086e57cf18388a3b90b (diff) | |
download | poky-ddce381e78c92e0881c73f21d97af0264b3d47e0.tar.gz |
Add ptest for glib.
(From OE-Core rev: dec6f912d68f52748f645b6af411f189cf464f85)
Signed-off-by: Björn Stenberg <bjst@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib.inc')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index bc831e6d99..53b20b6188 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -21,13 +21,14 @@ PACKAGES =+ "${PN}-utils ${PN}-bash-completion ${PN}-codegen" | |||
21 | LEAD_SONAME = "libglib-2.0.*" | 21 | LEAD_SONAME = "libglib-2.0.*" |
22 | FILES_${PN}-utils = "${bindir}/* ${datadir}/glib-2.0/gettext" | 22 | FILES_${PN}-utils = "${bindir}/* ${datadir}/glib-2.0/gettext" |
23 | 23 | ||
24 | inherit autotools gettext gtk-doc pkgconfig | 24 | inherit autotools gettext gtk-doc pkgconfig ptest |
25 | 25 | ||
26 | S = "${WORKDIR}/glib-${PV}" | 26 | S = "${WORKDIR}/glib-${PV}" |
27 | 27 | ||
28 | CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap --disable-modular-tests" | 28 | CORECONF = "--disable-dtrace --disable-fam --disable-libelf --disable-systemtap" |
29 | 29 | ||
30 | EXTRA_OECONF = "--enable-included-printf=no ${CORECONF}" | 30 | PTEST_CONF = "${@base_contains('DISTRO_FEATURES', 'ptest', '', '--disable-modular-tests', d)}" |
31 | EXTRA_OECONF = "--enable-included-printf=no ${CORECONF} ${PTEST_CONF}" | ||
31 | EXTRA_OECONF_class-native = "${CORECONF}" | 32 | EXTRA_OECONF_class-native = "${CORECONF}" |
32 | EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no ${CORECONF}" | 33 | EXTRA_OECONF_linuxstdbase = "--enable-included-printf=no ${CORECONF}" |
33 | 34 | ||