On Fri, Aug 6, 2010 at 10:26 AM, Martin Jansa <[email protected]> wrote: > On Tue, Jul 27, 2010 at 9:43 AM, David Kozub <[email protected]> wrote: >> On Tue, 27 Jul 2010, Henning Heinold wrote: >> >>> Eduardo Lima sends in patches for cmake 2.8 too. So please coordinate with >>> him. >>> I would like to see a fine recipe with which uses the latest features >>> available in OE like BBCLASSEXTENDED and so on. >> >> I missed it. It even seems he's been working on webkit-efl too. I'll try to >> contact him. >> >> As for the cmake - I tried and failed. My problem is: >> >> * cmake is built using cmake-native, and it uses inherit cmake >> >> * I can't have inherit cmake in the native recipe, as it would be a circular >> dependency >> >> * I got stuck on: can I somehow "inherit cmake" only for the non-native >> case? > > looks strange, but works: > BBCLASSEXTEND = "native" > IS_NATIVE = "no" > IS_NATIVE_virtclass-native = "yes" > INHERIT += " $...@base_conditional("IS_NATIVE", "no", "autotools cmake", > "autotools", d)}" > > looks even better, and still works: > INHERIT_CLASSES = "autotools cmake" > INHERIT_CLASSES_virtclass-native = "autotools" > INHERIT += ${INHERIT_CLASSES} > > looks even better, and fails somehow :/: > INHERIT_CLASSES = "cmake" > INHERIT_CLASSES_virtclass-native = "" > inherit autotools ${INHERIT_CLASSES} > > looks better, but fails: > INHERIT_CLASSES = "autotools cmake" > INHERIT_CLASSES_virtclass-native = "autotools" > inherit ${INHERIT_CLASSES} > -> ParseError: Could not inherit file classes/autotools cmake.bbclass > > Tested only by checking -e output! >
Well, maybe that was too much for my restricted OE knowledge. Anyway, are you sure the non-native build works? In many tests David and I did together, there was need for many tweaks on the non-native. It worths taking a look here anyhow. Best Regards, Etrunko -- Eduardo de Barros Lima [email protected] _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
