summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorDengke Du <dengke.du@windriver.com>2018-06-08 09:18:32 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-15 11:09:40 +0100
commitf7d62fff09b033b6eee7251a133d05c24c55769e (patch)
treefcea65ad086db360f243c3704edee5e9abc185af /meta/recipes-kernel
parent398ac946745bbfad55deb382aeafec0be3298819 (diff)
downloadopenembedded-core-contrib-f7d62fff09b033b6eee7251a133d05c24c55769e.tar.gz
openembedded-core-contrib-f7d62fff09b033b6eee7251a133d05c24c55769e.tar.bz2
openembedded-core-contrib-f7d62fff09b033b6eee7251a133d05c24c55769e.zip
trace-cmd: add PACKAGECONFIG for audit
Signed-off-by: Dengke Du <dengke.du@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/trace-cmd/trace-cmd_git.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
index 27c7c19753..d9cc9a7f41 100644
--- a/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
+++ b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
@@ -10,6 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
file://trace-input.c;beginline=5;endline=8;md5=3ec82f43bbe0cfb5951ff414ef4d44d0 \
"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[audit] = ',NO_AUDIT=1,audit'
EXTRA_OEMAKE = "\
'prefix=${prefix}' \
'bindir=${bindir}' \
@@ -21,6 +23,7 @@ EXTRA_OEMAKE = "\
'libdir=${libdir}' \
\
NO_PYTHON=1 \
+ ${PACKAGECONFIG_CONFARGS} \
"
do_compile_prepend() {