On 2 March 2018 at 04:44, Anuj Mittal <anuj.mit...@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
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core