From 1d013a287e1402bd058553452ec1f8cbd0ea5ff1 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sat, 20 Feb 2016 23:52:22 +0100 Subject: [PATCH] package/trace-cmd: add optional support for audit When audit was compiled before, trace-cmd will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/trace-cmd | grep NEEDED | sort 0x0000000000000001 (NEEDED) Shared library: [ld64-uClibc.so.1] 0x0000000000000001 (NEEDED) Shared library: [libaudit.so.1] 0x0000000000000001 (NEEDED) Shared library: [libc.so.1] 0x0000000000000001 (NEEDED) Shared library: [libdl.so.1] Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/trace-cmd/trace-cmd.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/trace-cmd/trace-cmd.mk b/package/trace-cmd/trace-cmd.mk index 839e7ee3e8..2348155cb8 100644 --- a/package/trace-cmd/trace-cmd.mk +++ b/package/trace-cmd/trace-cmd.mk @@ -13,6 +13,10 @@ TRACE_CMD_LICENSE_FILES = COPYING COPYING.LIB TRACE_CMD_DEPENDENCIES = host-pkgconf +ifeq ($(BR2_PACKAGE_AUDIT),y) +TRACE_CMD_DEPENDENCIES += audit +endif + ifeq ($(BR2_PACKAGE_PYTHON),y) TRACE_CMD_DEPENDENCIES += python host-swig TRACE_CMD_MAKE_OPTS = PYTHON_VERS=python -- 2.30.2