]> code.ossystems Code Review - openembedded-core.git/commit
kernel.bbclass: enable a link for external module building
authorNitin A Kamble <nitin.a.kamble@intel.com>
Tue, 30 Sep 2014 21:40:05 +0000 (14:40 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 5 Oct 2014 23:13:41 +0000 (00:13 +0100)
commitaafa4bc896eb944aa4fc406807dd7e02f4b9b7ba
tree535265f872b140ae66555f40d096ebe10c61048d
parentc067e52cffe002de3b39aa1bced308dd532859c1
kernel.bbclass: enable a link for external module building

Even though the kernel-dev package provides the required support for
building external kernel modules on the target, some commonly used scripts
and utilities fail as they are not finding the kernel module build support
files at the desired location.

Create the /lib/modules/<kernel-version>/build link on target pointing to
the sources provided by the kernel-dev package, to fix the issue.

Fixes Bug:
[YOCTO #2968]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass