[Buildroot] Xenomai 3.x
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Oct 7 12:06:47 UTC 2016
Hello,
On Thu, 6 Oct 2016 11:01:33 +0200, Arnout Vandecappelle wrote:
> We want to limit the number of versioned packages to ease maintenance burden.
> And we certainly don't want to carry versions that have no upstream support
> (although again, there are exceptions to this rule).
>
> I have taken a quick look to the migration guide. To me it seems that many
> applications will not need any migration at all, and some applications will
> require some names to be changed in their code. Unfortunately in some cases it
> can be somewhat tricky to find out what things have been renamed, e.g. the
> /proc/xenomai files are just strings in your scripts so no compile time errors.
>
> So for many users, it is actually easier if it's a simple version bump.
> Introducing a new xenomai3 package would make their life more difficult since
> they have to update their Buildroot configuration to make the switch. Obviously
> that
>
> So this is slightly borderline. Since upstream Xenomai 2 gets no "stable
> updates", I tend to prefer to remove it.
Fine with me.
> > Yes and I started to work on this way, but I don't like having too much ifeq()
> > in the source code, blame me :-).
>
> I guess the ifeqs are needed for the Mercury vs Cobalt support, no? For this, I
> agree that it would make sense to make a separate xenomai-mercury package (and
> keep the xenomai package as Cobalt only).
For this, I am not so sure. I dislike when we have multiple packages
that fetch the same source code. We do have this in a few places, but
it's not something that is really great, so I'd prefer to avoid it when
possible. So I'd prefer to have a single Xenomai package that handles
both the Mercury and Cobalt cases.
But of course, we can only judge once we see the actual patches.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list