summaryrefslogtreecommitdiff
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-01-12 15:42:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-12 15:55:25 +0000
commit041adc97125189d1d91ecc7de16ff0e3e386e15b (patch)
tree3e932b146bdf96b8ee99b6e833248c77136a9620 /meta/classes/kernel.bbclass
parentbff1d2ba0603a9eb5200ae0c6076bbe0e22f0f6f (diff)
downloadopenembedded-core-041adc97125189d1d91ecc7de16ff0e3e386e15b.tar.gz
openembedded-core-041adc97125189d1d91ecc7de16ff0e3e386e15b.tar.bz2
openembedded-core-041adc97125189d1d91ecc7de16ff0e3e386e15b.zip
kernel bbclass: add 'perf' to kernel-modules blacklist
This makes 'kernel-modules' installable again when perf isn't enabled in the kernel config Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 86a1923df3..ef16fc557a 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -441,7 +441,7 @@ python populate_packages_prepend () {
metapkg = "kernel-modules"
bb.data.setVar('ALLOW_EMPTY_' + metapkg, "1", d)
bb.data.setVar('FILES_' + metapkg, "", d)
- blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux' ]
+ blacklist = [ 'kernel-dev', 'kernel-image', 'kernel-base', 'kernel-vmlinux', 'perf' ]
for l in module_deps.values():
for i in l:
pkg = module_pattern % legitimize_package_name(re.match(module_regex, os.path.basename(i)).group(1))