[OE-core] [PATCH] linux-kernel-base: linux/version.h path update for 3.7-rc1

Anders Roxell anders.roxell at gmail.com
Wed Mar 20 14:55:30 UTC 2013


On Wed, Mar 20, 2013 at 2:42 PM, Bruce Ashfield <bruce.ashfield at gmail.com>wrote:

> On Wed, Mar 20, 2013 at 9:22 AM,  <anders.roxell at gmail.com> wrote:
> > From: Anders Roxell <anders.roxell at enea.com>
> >
> > In mainline kernel 3.7-rc1 (hash:abbf1590de22a6d22)
> > The path include/linux/version.h was updated to
> > include/generated/uapi/linux/version.h
>
> It's true that uapi now holds the generated version.h, but what build
> error were you seeing without this change in place ?


We were trying to build linx (
http://linx.sourceforge.net/linxdoc/doc/index.html)
Please let me know if it is better to rewrite linx or include this patch?

Regards,
Anders


> utsrelease.h is
> still created where it has been for some time, and should be what is
> typically used for any version checks.
>
> Cheers,
>
> Bruce
>
>
>
> >
> > Signed-off-by: Anders Roxell <anders.roxell at enea.com>
> > ---
> >  meta/classes/linux-kernel-base.bbclass |    3 +++
> >  1 files changed, 3 insertions(+), 0 deletions(-)
> >
> > diff --git a/meta/classes/linux-kernel-base.bbclass
> b/meta/classes/linux-kernel-base.bbclass
> > index 4f2b0a4..b7d0ffa 100644
> > --- a/meta/classes/linux-kernel-base.bbclass
> > +++ b/meta/classes/linux-kernel-base.bbclass
> > @@ -8,6 +8,9 @@ def get_kernelversion(p):
> >          fn = p + '/include/generated/utsrelease.h'
> >      if not os.path.isfile(fn):
> >          fn = p + '/include/linux/version.h'
> > +    if not os.path.isfile(fn):
> > +        # after 3.7-rc1
> > +        fn = p + '/include/generated/uapi/linux/version.h'
> >
> >      import re
> >      try:
> > --
> > 1.7.5.4
> >
> >
> > _______________________________________________
> > Openembedded-core mailing list
> > Openembedded-core at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130320/5665f8f2/attachment-0002.html>


More information about the Openembedded-core mailing list