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

Romain Naour romain.naour at openwide.fr
Tue Jul 14 17:35:10 UTC 2015


From: Steven Noonan <steven at uplinklabs.net>

Signed-off-by: Steven Noonan <steven at uplinklabs.net>
[Romain:
  - fix coding style]
Reviewed-by: Romain Naour <romain.naour at openwide.fr>
---
v5: new patch
---
 package/perf/perf.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/perf/perf.mk b/package/perf/perf.mk
index 9fdce95..42fbe24 100644
--- a/package/perf/perf.mk
+++ b/package/perf/perf.mk
@@ -36,6 +36,10 @@ ifeq ($(BR2_PACKAGE_SLANG),y)
 PERF_DEPENDENCIES += slang
 endif
 
+ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
+PERF_DEPENDENCIES += libunwind
+endif
+
 ifeq ($(BR2_PACKAGE_NUMACTL),y)
 PERF_DEPENDENCIES += numactl
 endif
-- 
2.4.3




More information about the buildroot mailing list