mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/perf: if audit is enabled, depend on it
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>
This commit is contained in:
committed by
Peter Korsgaard
parent
e7a68dd9cf
commit
99facff76c
@@ -21,7 +21,6 @@ PERF_MAKE_FLAGS = \
|
|||||||
DESTDIR=$(TARGET_DIR) \
|
DESTDIR=$(TARGET_DIR) \
|
||||||
prefix=/usr \
|
prefix=/usr \
|
||||||
WERROR=0 \
|
WERROR=0 \
|
||||||
NO_LIBAUDIT=1 \
|
|
||||||
NO_GTK2=1 \
|
NO_GTK2=1 \
|
||||||
NO_LIBPERL=1 \
|
NO_LIBPERL=1 \
|
||||||
NO_LIBPYTHON=1 \
|
NO_LIBPYTHON=1 \
|
||||||
@@ -64,6 +63,12 @@ else
|
|||||||
PERF_MAKE_FLAGS += NO_NEWT=1 NO_SLANG=1
|
PERF_MAKE_FLAGS += NO_NEWT=1 NO_SLANG=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_AUDIT),y)
|
||||||
|
PERF_DEPENDENCIES += audit
|
||||||
|
else
|
||||||
|
PERF_MAKE_FLAGS += NO_LIBAUDIT=1
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
ifeq ($(BR2_PACKAGE_LIBUNWIND),y)
|
||||||
PERF_DEPENDENCIES += libunwind
|
PERF_DEPENDENCIES += libunwind
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user