On Wed, 2019-07-10 at 11:06 +0800, ChenQi wrote: > On 07/09/2019 06:18 PM, Richard Purdie wrote: > > On Tue, 2019-07-09 at 17:36 +0800, ChenQi wrote: > > What happens if we add: > > > > ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', > > 'nativesdk-libxml2', '', d)} \ > > > > to > > ` > > meta/recipes-core/packagegroups/nativesdk-packagegroup-sdk-host.bb > > > > ? > > This does not work. Using nativesdk-libxml2-utils does not work too. > Both buildtools and eSDK do not use this packagegroup.
Ok, I'll need to spend more time looking at the problem then :(. > I've sent out a V2 of this patch, with change to put the > 'libxml2-native' dependency in xmlcatalog.bbclass. > In this way, we can ensure that the xmlcatalog is from our recipe. > In normal build, it's from libxml2-native; in build-sysroots in eSDK, > it's from nativesdk-libxml2-utils. Do you think this is acceptable? The class change is fine and I'll queue that. We are not adding xmlcatalog to HOSTTOOLS_NONFATAL however, that is simply not an option or the right way to fix this. Cheers, Richard -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core