[OE-core] [PATCH 1/1] trace-cmd: fix QA warning
Dengke Du
dengke.du at windriver.com
Sat Nov 5 05:29:50 UTC 2016
Add PACKAGECONFIG for audit.
Signed-off-by: Dengke Du <dengke.du at windriver.com>
---
meta/recipes-kernel/trace-cmd/trace-cmd_git.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb b/meta/recipes-kernel/trace-cmd/trace-cmd_git.bb
index dd9a8a0..05f5f9a 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() {
--
2.7.4
More information about the Openembedded-core
mailing list