diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-11-03 13:29:20 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-21 14:43:55 +0000 |
commit | 61d7b4aa038bae190105637c17094f226602f857 (patch) | |
tree | 004dcfafc51b31442687614f7bd40d182ca40e0c | |
parent | eb70e899c48abec05d547e43c98c9b1185ccd95d (diff) | |
download | poky-61d7b4aa038bae190105637c17094f226602f857.tar.gz |
libevdev: add libcheck dependency
The libevdev configure script contains an unconditional check for
libcheck. If libcheck is found, libevdev unit tests will be built.
Without a dependency, the presence of libcheck in sysroot is non
deterministic (in morty and earlier) and builds can fail if libcheck
is available during do_configure but not during do_compile.
(In pyro and later, the libcheck dependency is not required to make
libevdev builds deterministic due to recipe specific sysroots).
(From OE-Core rev: 9dc52a9959b05c9fa548f1991366f29ae873a793)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/libevdev/libevdev_1.5.2.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-support/libevdev/libevdev_1.5.2.bb b/meta/recipes-support/libevdev/libevdev_1.5.2.bb index c76e1d79f7..381d2525b4 100644 --- a/meta/recipes-support/libevdev/libevdev_1.5.2.bb +++ b/meta/recipes-support/libevdev/libevdev_1.5.2.bb | |||
@@ -6,6 +6,8 @@ LICENSE = "MIT-X" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \ | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \ |
7 | file://libevdev/libevdev.h;endline=21;md5=7ff4f0b5113252c2f1a828e0bbad98d1" | 7 | file://libevdev/libevdev.h;endline=21;md5=7ff4f0b5113252c2f1a828e0bbad98d1" |
8 | 8 | ||
9 | DEPENDS = "libcheck" | ||
10 | |||
9 | SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz" | 11 | SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz" |
10 | 12 | ||
11 | SRC_URI[md5sum] = "96ad6edb5ce5c4428f1b183cc180ff8c" | 13 | SRC_URI[md5sum] = "96ad6edb5ce5c4428f1b183cc180ff8c" |