diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2013-08-01 18:01:39 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-03 10:33:14 +0100 |
commit | 82877a966513ab142543bdba55c48ec442934e9d (patch) | |
tree | d810ce95ba07743c141336f95f23dcef374c95de /meta/recipes-connectivity/ofono | |
parent | 3cf0a5426aaee26451ad91036b00bd7ea8d9dde2 (diff) | |
download | poky-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/recipes-connectivity/ofono')
-rw-r--r-- | meta/recipes-connectivity/ofono/ofono.inc | 3 | ||||
-rw-r--r-- | meta/recipes-connectivity/ofono/ofono_1.12.bb | 3 |
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" | |||
15 | EXTRA_OECONF += "\ | 15 | EXTRA_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 | " |
19 | SYSTEMD_SERVICE_${PN} = "ofono.service" | 20 | SYSTEMD_SERVICE_${PN} = "ofono.service" |
20 | 21 | ||
@@ -28,5 +29,5 @@ PACKAGES =+ "${PN}-tests" | |||
28 | RDEPENDS_${PN} += "dbus" | 29 | RDEPENDS_${PN} += "dbus" |
29 | 30 | ||
30 | FILES_${PN} += "${base_libdir}/udev ${systemd_unitdir}" | 31 | FILES_${PN} += "${base_libdir}/udev ${systemd_unitdir}" |
31 | FILES_${PN}-tests = "${libdir}/ofono" | 32 | FILES_${PN}-tests = "${libdir}/${BPN}/test" |
32 | RDEPENDS_${PN}-tests = "python python-pygobject python-dbus" | 33 | RDEPENDS_${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" | |||
12 | SRC_URI[md5sum] = "aa8924c0e8de3ec7ac5e41fe7df4cb99" | 12 | SRC_URI[md5sum] = "aa8924c0e8de3ec7ac5e41fe7df4cb99" |
13 | SRC_URI[sha256sum] = "733b75bfd1b2a1925b6de532989c496b8ae17a746691120ef64cceb00b3ef751" | 13 | SRC_URI[sha256sum] = "733b75bfd1b2a1925b6de532989c496b8ae17a746691120ef64cceb00b3ef751" |
14 | 14 | ||
15 | EXTRA_OECONF += "\ | ||
16 | --enable-test \ | ||
17 | " | ||
18 | CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE" | 15 | CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE" |