summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/libinput_0.18.0.bb
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2015-08-05 12:19:00 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-10 12:40:23 -0700
commitb698e2efa617b36a03b83afdc4f7b4d046c2bd70 (patch)
tree1e4f8f0025bb1986449210f1b11457e01715a12a /meta/recipes-graphics/wayland/libinput_0.18.0.bb
parentfcc3afcdb20e1dca72c39b66a5553f42637c7be2 (diff)
downloadpoky-b698e2efa617b36a03b83afdc4f7b4d046c2bd70.tar.gz
libinput: add configure arg and PACKAGECONFIG for libunwind
libinput uses pkg-config to check and decide whether to build with libunwind, which causes undeterministic builds or error: | tmp/work/core2-64-wrs-linux/libinput/0.18.0-r0/libinput-0.18.0/test/litest.c:77:23: | fatal error: libunwind.h: No such file or directory So add configure arg and PACKAGECONFIG for libunwind to make deterministic build, but libunwind is disabled by default. (From OE-Core rev: 3ffbceb4394a54c4b02fa66525b2a00832d4e7f1) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland/libinput_0.18.0.bb')
-rw-r--r--meta/recipes-graphics/wayland/libinput_0.18.0.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-graphics/wayland/libinput_0.18.0.bb b/meta/recipes-graphics/wayland/libinput_0.18.0.bb
index 0fe1c6c59b..8e8e6a7c41 100644
--- a/meta/recipes-graphics/wayland/libinput_0.18.0.bb
+++ b/meta/recipes-graphics/wayland/libinput_0.18.0.bb
@@ -7,11 +7,16 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2184aef38ff137ed33ce9a63b9d1eb8f"
7 7
8DEPENDS = "libevdev udev mtdev" 8DEPENDS = "libevdev udev mtdev"
9 9
10SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz" 10SRC_URI = "http://www.freedesktop.org/software/${BPN}/${BP}.tar.xz \
11 file://libinput-configure.ac-add-arg-with-libunwind.patch \
12"
11SRC_URI[md5sum] = "0ddbb0d53d58dec0a86de6791560011a" 13SRC_URI[md5sum] = "0ddbb0d53d58dec0a86de6791560011a"
12SRC_URI[sha256sum] = "64a70f96bab17a22eaf2fd7af17cf83def3388374096c7623be9448f62808cda" 14SRC_URI[sha256sum] = "64a70f96bab17a22eaf2fd7af17cf83def3388374096c7623be9448f62808cda"
13 15
14inherit autotools pkgconfig 16inherit autotools pkgconfig
15 17
18PACKAGECONFIG ??= ""
19PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
20
16FILES_${PN} += "${libdir}/udev/" 21FILES_${PN} += "${libdir}/udev/"
17FILES_${PN}-dbg += "${libdir}/udev/.debug" 22FILES_${PN}-dbg += "${libdir}/udev/.debug"