kernel.bbclass: Remove warnings for modutils and modprobe.d
authorDarren Hart <dvhart@linux.intel.com>
Wed, 7 Mar 2012 08:06:46 +0000 (00:06 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Mar 2012 19:55:39 +0000 (11:55 -0800)
commit0c1855e243daa9b037092865acfd931f014a3253
treebe70288ce70585ec8c085e9ee37acadd067c9236
parentad43e995b1f2df6a22f2633633be1dc52612586d
kernel.bbclass: Remove warnings for modutils and modprobe.d

Fixes [Yocto #2036]

The source and build directories are unused, remove them.

The modutils and modprobe.d directories may be used if modules are built that
are either autoloaded or have modprobe.d entries. This isn't known at install
time, so check after the package split if these directories are empty and
remove them if they are.

(From OE-Core rev: 6068f3229397baf561b1e84a22b570a803d95c49)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass