kernel.bbclass, module.bbclass: Make update-modules optional
authorPhil Blundell <philb@gnu.org>
Wed, 26 Sep 2012 12:02:26 +0000 (13:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Oct 2012 11:13:33 +0000 (12:13 +0100)
commit9866d72c3305bd837fe86a69b2382ec7b77b30da
tree8621a4f5e11accaae590b41b15e363499542de70
parent6db1505107d6be6244f9c2116e4bbaf1847ab1d5
kernel.bbclass, module.bbclass: Make update-modules optional

The update-modules mechanism is something of a historical relic and it isn't
entirely clear that it has a great deal of value nowadays.  Also, it causes a
problem when building a read-only rootfs since update-modules itself refuses
to configure offline.

Allow DISTROs to circumvent this whole thing by declaring (via DISTRO_FEATURES)
that they don't wish to use update-modules.  This is backfilled for existing
distributions and will have to be marked as CONSIDERED by those who actually
don't want it.

(From OE-Core rev: 14bf8ed115453077b4d4042b4b70ed6b3bca2a9f)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass
meta/classes/module.bbclass
meta/conf/bitbake.conf