[Buildroot] [PATCHv3 0/4] openpowerlink bump to v2.2

Romain Naour romain.naour at openwide.fr
Mon Aug 10 13:14:24 UTC 2015


Hi Thomas,

Le 07/08/2015 15:28, Romain Naour a écrit :
> From doc/openpowerlink.md:
> "The openPOWERLINK release V2.X is an evolution of the openPOWERLINK V1 stack.
> Running the kernel and user layers of openPOWERLINK on different processors in
> a multi-processor/multi-platform architecture, required fundamental changes in
> the Communication Abstraction Layer. Additionally, the existing code base was
> greatly improved so that it is easier to understand and maintain. Due to these
> reasons a new major release was started."
> 
> The openpowerlink2 package archive contains several cmake projects,
> and each of them must be packaged separately in Buildroot.
> 
> "With version 2.0, the source code has been cleanly split into an
> application-oriented user library and a time-critical stack driver."
> 
> This complicates the packaging but it helps to refine the dependencies
> compared to openpowerlink v1 build system.
> (openpowerlink v1 requires C++ only for the qt demo)
> 

You asked on IRC if it's possible to have only one openpowerlink package.
I would say yes, by adding a top-level CMakeLists.txt like this one [1] but
the build dependencies between each projects are not handled.
All is build at the same time.
This is a problem for demo applications which are looking for openpowerlink
libraries using FIND_OPLK_LIBRARY, but before it had time to be compiled.

I don't know how to add a dependency between the "stack" project and the "app"
project.

Otherwise, we need to package each sub projects in order to handle the
dependency outside of the CMake world...

Samuel, have you an idea ?

Best regards,
Romain

[1] https://sourceforge.net/u/kubu/code/ci/f80f43d02aabb0f2acc09d4ce420ecc3dcfad81c/


More information about the buildroot mailing list