**** BEGIN LOGGING AT Mon Aug 21 03:00:01 2017 Aug 21 03:43:23 .. so when would I *not* want to add `BBCLASSEXTEND = "native nativesdk"` to a recipe? (ie: why isn't this the default?) Aug 21 04:06:21 gus: I guess when the thing the recipe is building is only expected to work on the target Aug 21 04:06:33 gus: e.g. you wouldn't expect to build a native kernel Aug 21 04:07:23 yep, and other special cases like *-cross (and when the recipe is already explicitly *-native), etc. Aug 21 04:08:33 but it's reasonable for me to put in all "normal" recipes? Because that's what I've been doing, I just figured that if that was reasonable then it could/should be the default with some sort of opt-out "INHIBIT_DEFAULT_BBCLASSEXTEND" for the less-common special cases. Aug 21 07:43:32 good morning Aug 21 12:49:47 can anyone point me in the direction of a recipe that fetches multiple Git URLs through SRC_URI? I want to specify 3 SRC_REVs, make them clone into different subdirs of my ${WORKDIR} etc Aug 21 12:59:43 mago1: linux-yocto has at least 2 git src_uri's, using name= and so forth (http://git.openembedded.org/openembedded-core/tree/meta/recipes-kernel/linux/linux-yocto_4.10.bb) Aug 21 13:17:17 thanks! the destsuffix modifier was the key Aug 21 15:40:11 l Aug 21 15:41:52 hi, I have a .bb that depends on another layer. what's the recommended way to automatically skip that recipe if that other layer wasn't enabled? Aug 21 15:42:35 mnemoc there are many different ways to handle it.. but one of the ways I've been doing this recently is via an anonymous python section Aug 21 15:42:58 in your .bb you can do something like: Aug 21 15:43:01 python () { Aug 21 15:43:27 layers = d.getVar('BBFILE_COLLECTIONS') Aug 21 15:43:38 if 'collection_name' not in layers: Aug 21 15:44:04 raise bb.parse.SkipPackage("Recipe requires layer [collection_name]" Aug 21 15:44:05 } Aug 21 15:44:09 (or something like that) Aug 21 15:44:27 you should include in your layers conf/bblayers.conf file a -recomemnded- layer tag though Aug 21 15:44:56 'er.. conf/layers.conf .. such as: Aug 21 15:45:26 LAYERRECOMMENDS_ = 'collection_name' Aug 21 15:45:43 (replace collection_name with the collection name for the layer you need.. and with your layers collection name) Aug 21 15:45:56 excellent! thanks a lot fray Aug 21 15:46:22 the key is detect when the recipe can't be built.. then use the SkipPackage message to inform the user what they need to do in order to access that package Aug 21 15:46:29 'er.. access that -recipe- Aug 21 18:20:15 second option is better here Aug 21 18:21:48 using LAYERDEPENDS is better so you can parse time errors Aug 21 18:29:10 i think the whole point of using that anonymous python in such a recipe was to *not* parse error Aug 21 18:29:28 hence the rrecommends. if there's a parsing requirement, then yeah, either put it in a layer specific area or add layerdepends Aug 21 18:30:45 layerdepends means it's absolutely required. My reading of the question is 'I have a recipe that can only be used if another layer is present, but I don't want my layer to depend on that other layer for everything else' Aug 21 18:30:51 thus the anon python adn the recommende dlayers Aug 21 18:31:26 I was assuming no parsing fault, but dependency issues **** ENDING LOGGING AT Tue Aug 22 03:00:00 2017