From 8dc182e9960996f5010edcc598fbfaa8a12faceb Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 14 Feb 2007 00:42:44 +0000 Subject: kernel.bbclass: Remove PARALLEL_INSTALL_MODULES. If we want to do this we should rethink and have something that works for multiple kernel versions generically not just a 2.4/2.6 split. There are certainly better ways to do it than this. --- classes/linux-kernel-base.bbclass | 4 ---- 1 file changed, 4 deletions(-) (limited to 'classes/linux-kernel-base.bbclass') diff --git a/classes/linux-kernel-base.bbclass b/classes/linux-kernel-base.bbclass index e58c228080..4e2e2da373 100644 --- a/classes/linux-kernel-base.bbclass +++ b/classes/linux-kernel-base.bbclass @@ -32,10 +32,6 @@ def get_kernelmajorversion(p): def linux_module_packages(s, d): import bb, os.path suffix = "" - if (bb.data.getVar("PARALLEL_INSTALL_MODULES", d, 1) == "1"): - file = bb.data.expand('${STAGING_KERNEL_DIR}/kernel-abiversion', d) - if (os.path.exists(file)): - suffix = "-%s" % (get_kernelmajorversion(base_read_file(file))) return " ".join(map(lambda s: "kernel-module-%s%s" % (s.lower().replace('_', '-').replace('@', '+'), suffix), s.split())) # that's all -- cgit 1.2.3-korg