kernel: restore scripts in the sysroot
authorBruce Ashfield <bruce.ashfield@windriver.com>
Tue, 8 Oct 2013 21:12:54 +0000 (17:12 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 14 Oct 2013 15:55:27 +0000 (16:55 +0100)
commit83f29d11ac40b5df508beeca0794b00f7894ef55
treea6964476b04b44f589d5578ad88d1b11f445bc5c
parentd8b7f2458d2871e9304c211a3c7c60c09a90fa20
kernel: restore scripts in the sysroot

When building against the sysroot, out of tree modules can require modpost
and other utilities normally found in the kernel's scripts directory. For
the kernel source in the staging dir, these scripts have been removed to
avoid mixing archiectures when packaging kernel-dev (among other things).

Rather than further complicate the kernel's install rule, or its packaging,
we can restore the scripts by building them in the kernel staging directory
after the sstate is installed, making them available to packages that need them.

(From OE-Core rev: 5bcd65807aa634060f98928db6011856934dabe4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass