* [Buildroot] [git commit] package/perf: if audit is enabled, depend on it
@ 2020-12-03 9:37 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2020-12-03 9:37 UTC (permalink / raw
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=99facff76c1f15e769d2c26b8dca2ae92b03bb17
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Enables the `perf trace` command.
Signed-off-by: V??clav Kubern??t <sir.venceslas@gmail.com>
Reviewed-by: Jan Kundr??t <jan.kundrat@cesnet.cz>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/linux-tools/linux-tool-perf.mk.in | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/package/linux-tools/linux-tool-perf.mk.in b/package/linux-tools/linux-tool-perf.mk.in
index 53b7c5b9cd..e54f019888 100644
--- a/package/linux-tools/linux-tool-perf.mk.in
+++ b/package/linux-tools/linux-tool-perf.mk.in
@@ -21,7 +21,6 @@ PERF_MAKE_FLAGS = \
DESTDIR=$(TARGET_DIR) \
prefix=/usr \
WERROR=0 \
- NO_LIBAUDIT=1 \
NO_GTK2=1 \
NO_LIBPERL=1 \
NO_LIBPYTHON=1 \
@@ -64,6 +63,12 @@ else
PERF_MAKE_FLAGS += NO_NEWT=1 NO_SLANG=1
endif
+ifeq ($(BR2_PACKAGE_AUDIT),y)
+PERF_DEPENDENCIES += audit
+else
+PERF_MAKE_FLAGS += NO_LIBAUDIT=1
+endif
+
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
PERF_DEPENDENCIES += libunwind
else
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-03 9:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-03 9:37 [Buildroot] [git commit] package/perf: if audit is enabled, depend on it Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.