Hi Koen, Something like this (in a small python function) would be acceptable?
d.setVar('LICENSE', 'CLOSED') Regards, Matthieu -----Message d'origine----- De : Koen Kooi [mailto:k...@dominion.thruhere.net] Envoyé : vendredi 11 juillet 2014 08:37 À : Martin Jansa Cc : Matthieu CRAPET; openembedded-core@lists.openembedded.org Objet : Re: [OE-core] [PATCH v2] libav: add PACKAGECONFIG for theora, libvorbis, speex and openssl [...] >> +# Check codecs that require --enable-nonfree USE_NONFREE = >> +"${@bb.utils.contains_any('PACKAGECONFIG', [ 'faac', 'openssl' ], 'yes', >> '', d)}" >> >> EXTRA_OECONF = " \ >> --enable-shared \ >> --enable-pthreads \ >> --enable-gpl \ >> + ${@bb.utils.contains('USE_NONFREE', 'yes', '--enable-nonfree', >> + '', d)} \ > > cannot you just pass --enable-nonfree in faac and openssl PACKAGECONFIG? > In worse case when both are enabled the option will be added twice. If you have nonfree enabled, you need to change the license as well, it won't be GPL anymore. regards, Koen -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core