Unless anyone needs these really fast, I'll queue the two kernel patches and take them for a spin today.
I have a variant of the version.h here (and when the directories shuffle again, we can drop explicit copies all together), but will make the switch for this in the short term. Bruce On Wed, Jan 7, 2015 at 12:25 PM, Otavio Salvador <[email protected]> wrote: > Old Linux kernel versions rely on linux/version.h for modules; this > needs to be published for external modules to use. Copy it when > available. > > Signed-off-by: Otavio Salvador <[email protected]> > --- > meta/classes/kernel.bbclass | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass > index 88356b1..78c8c7c 100644 > --- a/meta/classes/kernel.bbclass > +++ b/meta/classes/kernel.bbclass > @@ -252,6 +252,10 @@ kernel_do_install() { > cp .config $kerneldir/ > mkdir -p $kerneldir/include/config > cp include/config/kernel.release > $kerneldir/include/config/kernel.release > + if [ -e include/linux/version.h ]; then > + mkdir -p $kerneldir/include/linux > + cp include/linux/version.h $kerneldir/include/linux/version.h > + fi > > # As of Linux kernel version 3.0.1, the clean target removes > # arch/powerpc/lib/crtsavres.o which is present in > -- > 2.1.4 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
