diff options
author | Phil Blundell <philb@gnu.org> | 2012-09-26 13:02:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-18 12:13:33 +0100 |
commit | 8f856918605bc634b32810e7a15a2f70b590e4de (patch) | |
tree | d5760530109b592810f2d2e735ff9d6c871c263f /meta/classes/module.bbclass | |
parent | 895994afd8993e06eb5c8dc0274406951cec6971 (diff) | |
download | poky-8f856918605bc634b32810e7a15a2f70b590e4de.tar.gz |
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>
Diffstat (limited to 'meta/classes/module.bbclass')
-rw-r--r-- | meta/classes/module.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass index 91628e429c..4098644c71 100644 --- a/meta/classes/module.bbclass +++ b/meta/classes/module.bbclass | |||
@@ -1,4 +1,4 @@ | |||
1 | RDEPENDS += "kernel-image update-modules" | 1 | RDEPENDS_${PN} += "kernel-image ${@oe.utils.contains('DISTRO_FEATURES', 'update-modules', 'update-modules', '', d)}" |
2 | DEPENDS += "virtual/kernel" | 2 | DEPENDS += "virtual/kernel" |
3 | 3 | ||
4 | inherit module-base | 4 | inherit module-base |