[OE-core] [PATCH 2/2] perf: enable support for libaudit
Burton, Ross
ross.burton at intel.com
Wed Mar 14 16:54:42 UTC 2018
On 2 March 2018 at 04:44, Anuj Mittal <anuj.mittal at intel.com> wrote:
> # gui support was added with kernel 3.6.35
> # since 3.10 libnewt was replaced by slang
> # to cover a wide range of kernel we add both dependencies
> @@ -22,6 +22,10 @@ PACKAGECONFIG[libnuma] = ",NO_LIBNUMA=1"
> PACKAGECONFIG[systemtap] = ",NO_SDT=1,systemtap"
> PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"
>
> +# libaudit support needs python to be present
> +PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit python"
>
All you need in this patch is:
+# audit needs scripting to be enabled.
+PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"
The convoluted logic will only get more complicated over time, when a
comment saying "if you want audit to work, turn on scripting" is sufficient.
+PACKAGECONFIG_CONFARGS += "${@bb.utils.contains_any('PACKAGECONFIG',
> 'scripting audit', '', 'NO_LIBPYTHON=1', d)}
PACKAGECONFG_CONFAGS isn't for assigning in a recipe.
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180314/3a822217/attachment-0002.html>
More information about the Openembedded-core
mailing list