From ee7d28a539aca02da470ccbcc25b08c530716441 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 6 Apr 2014 23:54:35 +0200 Subject: [PATCH] weston: add optional libunwind support Signed-off-by: Peter Korsgaard --- package/weston/weston.mk | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/package/weston/weston.mk b/package/weston/weston.mk index 6d1408f268..b6b8556f89 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -26,8 +26,13 @@ WESTON_CONF_OPT = \ --disable-wayland-compositor \ --disable-headless-compositor \ --disable-weston-launch \ - --disable-colord \ - --disable-libunwind + --disable-colord + +ifeq ($(BR2_PACKAGE_LIBUNWIND),y) +WESTON_DEPENDENCIES += libunwind +else +WESTON_CONF_OPT += --disable-libunwind +endif ifeq ($(BR2_PACKAGE_WESTON_FBDEV),y) WESTON_CONF_OPT += --enable-fbdev-compositor