[Feature][ZXW-65]merged P49 base code

Change-Id: I3e09c0c3d47483bc645f02310380ecb7fc6f4041
diff --git a/cap/zx297520v3/sources/meta-selinux/classes/with-audit.bbclass b/cap/zx297520v3/sources/meta-selinux/classes/with-audit.bbclass
new file mode 100755
index 0000000..0c15312
--- /dev/null
+++ b/cap/zx297520v3/sources/meta-selinux/classes/with-audit.bbclass
@@ -0,0 +1,5 @@
+# There is still no audit DISTRO_FEATURE, so enable audit when selinux feature enabled.
+inherit selinux
+
+PACKAGECONFIG_append = " ${@target_selinux(d, 'audit')}"
+PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit,"