[Buildroot] [PATCH 3/7] package/perf: if libunwind is enabled, depend on it

Steven Noonan steven at uplinklabs.net
Wed Mar 18 21:42:59 UTC 2015


Signed-off-by: Steven Noonan <steven at uplinklabs.net>
---
 package/perf/perf.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/perf/perf.mk b/package/perf/perf.mk
index 6b74b00..f35abc9 100644
--- a/package/perf/perf.mk
+++ b/package/perf/perf.mk
@@ -34,6 +34,10 @@ ifeq ($(BR2_arc),y)
 	PERF_MAKE_FLAGS += NO_BACKTRACE=1
 endif
 
+ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
+	PERF_DEPENDENCIES += libunwind
+endif
+
 ifeq ($(BR2_PACKAGE_NUMACTL),y)
 	PERF_DEPENDENCIES += numactl
 endif
-- 
2.3.3




More information about the buildroot mailing list