[Buildroot] [PATCH] Fix naming mismatch between directfb and kernel on "fusion" version numbers
Ulf Samuelsson
ulf.samuelsson at atmel.com
Sun Jul 26 19:06:09 UTC 2009
Peter Korsgaard skrev:
>>>>>> "Ulf" == Ulf Samuelsson <ulf.samuelsson at atmel.com> writes:
>
> Hi,
>
> >> But aren't those kernel modules part of directfb? If not, does
> >> stuff actually work (not just build) if you workaround this
> >> version incompatibility? Wouldn't it make more sense to fix where
> >> the define is set in the first place? Have you sent this by the
> >> directfb developers?
> >>
> Ulf> As far as I see, the major/minor version numbers provided
> Ulf> are the same as requested, but the naming is different.
>
> OK, what driver / setup exactly? Isn't the problem just that we need
> to bump the linux-fusion package version?
The module is 8.0 and the requirement is 8.0
but since they use different defines it wont work.
It is really very simple
#define A 8
#define B 8
#if A == B_PROVIDED
/* OK */
#else
#warning ""
#endif
The code should emit a warning if version A and B are not the same.
They are the same, but the warning will still occur,
since there is no definition of B_PROVIDED.
BR
Ulf Samuelsson
More information about the buildroot
mailing list