summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-08-01 18:01:39 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-03 10:33:14 +0100
commit82877a966513ab142543bdba55c48ec442934e9d (patch)
treed810ce95ba07743c141336f95f23dcef374c95de /meta
parent3cf0a5426aaee26451ad91036b00bd7ea8d9dde2 (diff)
downloadpoky-82877a966513ab142543bdba55c48ec442934e9d.tar.gz
ofono: Enable test scripts by default
oFono test scripts are very useful so enable those by default. (From OE-Core rev: 79af25c3f45f57c1dd44db2ef4011a3e768badd6) Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/ofono/ofono.inc3
-rw-r--r--meta/recipes-connectivity/ofono/ofono_1.12.bb3
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index 7adc667f99..3972e062e5 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -15,6 +15,7 @@ INITSCRIPT_PARAMS = "defaults 22"
15EXTRA_OECONF += "\ 15EXTRA_OECONF += "\
16 ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '--with-systemdunitdir=', d)} \ 16 ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '--with-systemdunitdir=', d)} \
17 ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \ 17 ${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
18 --enable-test \
18" 19"
19SYSTEMD_SERVICE_${PN} = "ofono.service" 20SYSTEMD_SERVICE_${PN} = "ofono.service"
20 21
@@ -28,5 +29,5 @@ PACKAGES =+ "${PN}-tests"
28RDEPENDS_${PN} += "dbus" 29RDEPENDS_${PN} += "dbus"
29 30
30FILES_${PN} += "${base_libdir}/udev ${systemd_unitdir}" 31FILES_${PN} += "${base_libdir}/udev ${systemd_unitdir}"
31FILES_${PN}-tests = "${libdir}/ofono" 32FILES_${PN}-tests = "${libdir}/${BPN}/test"
32RDEPENDS_${PN}-tests = "python python-pygobject python-dbus" 33RDEPENDS_${PN}-tests = "python python-pygobject python-dbus"
diff --git a/meta/recipes-connectivity/ofono/ofono_1.12.bb b/meta/recipes-connectivity/ofono/ofono_1.12.bb
index 32c8bc25cd..ad524a0418 100644
--- a/meta/recipes-connectivity/ofono/ofono_1.12.bb
+++ b/meta/recipes-connectivity/ofono/ofono_1.12.bb
@@ -12,7 +12,4 @@ PR = "r2"
12SRC_URI[md5sum] = "aa8924c0e8de3ec7ac5e41fe7df4cb99" 12SRC_URI[md5sum] = "aa8924c0e8de3ec7ac5e41fe7df4cb99"
13SRC_URI[sha256sum] = "733b75bfd1b2a1925b6de532989c496b8ae17a746691120ef64cceb00b3ef751" 13SRC_URI[sha256sum] = "733b75bfd1b2a1925b6de532989c496b8ae17a746691120ef64cceb00b3ef751"
14 14
15EXTRA_OECONF += "\
16 --enable-test \
17"
18CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE" 15CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE"