[oe] [PATCH 1/3] cmake-native: add recipe for cmake 2.8.2.

Eduardo Lima (Etrunko) eblima at gmail.com
Thu Jul 29 17:37:42 UTC 2010


On Tue, Jul 27, 2010 at 4:43 AM, David Kozub <zub at linux.fjfi.cvut.cz> 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.

Yeah, I was indeed working on webkit-efl. :)

We have discussed a lot in the past days and I guess we've achieved
the point where we have both CMake native and non-native building. As
we already agreed on IRC the other day, it's not possible to have a
unique recipe for building both. In fact, non-native is much more
complicated than it seems at first. I couldn't even make the actual
2.6.4 recipe (already in the repository) work.

David, could you please send your CMake updated patches to the list?

Best Regards, Etrunko.

>
> 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?
>
> I think that's not possible and so I see only two options:
>
> * hack the non-native recipe to not inherit cmake, yet still use the native
> cmake (this would probably mean some ugly copypasting - so that doesn't
> sound good)
>
> * build cmake non-native the same way cmake-native is built: bootstrap it,
> don't use native to build non-native (and thus no "inherit cmake")
>
> The second option looks more reasonable to me, but I didn't want to break
> what was working and building non-native with native seemed nice.
>
> Any thoughts on how to solve this?
>
> Regards,
>
> David
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Eduardo de Barros Lima
eblima at gmail.com




More information about the Openembedded-devel mailing list