aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDengke Du <dengke.du@windriver.com>2016-11-03 16:20:19 +0800
committerDengke Du <dengke.du@windriver.com>2016-11-05 13:20:35 +0800
commitd0e0e5d4c0fb820f9917735e384e55eac602b587 (patch)
tree248472f1ade1c93791d1b329bd1550dd5dcd9463
parentc3d2df883a9d6d5036277114339673656d89a728 (diff)
downloadopenembedded-core-contrib-dengke/fix-trace_cmd-QA-warning.tar.gz
openembedded-core-contrib-dengke/fix-trace_cmd-QA-warning.tar.bz2
openembedded-core-contrib-dengke/fix-trace_cmd-QA-warning.zip
trace-cmd: fix QA warningdengke/fix-trace_cmd-QA-warning
Add PACKAGECONFIG for audit. Signed-off-by: Dengke Du <dengke.du@windriver.com>
-rw-r--r--meta/recipes-kernel/trace-cmd/trace-cmd_git.bb4
1 files changed, 4 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 dd9a8a0ded..05f5f9ae41 100644
--- a/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
+++ b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
@@ -9,6 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
file://trace-input.c;beginline=5;endline=8;md5=3ec82f43bbe0cfb5951ff414ef4d44d0 \
"
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[audit] = ",,audit"
+
EXTRA_OEMAKE = "\
'prefix=${prefix}' \
'bindir=${bindir}' \
@@ -20,6 +23,7 @@ EXTRA_OEMAKE = "\
'libdir=${@oe.path.relative(prefix, libdir)}' \
\
NO_PYTHON=1 \
+ ${@bb.utils.contains('PACKAGECONFIG', 'audit', '', 'NO_AUDIT=1', d)} \
"
do_compile_prepend() {