[OE-core] [PATCH] kernel.bbclass: merge bbclass inheriting

liu.ming50 at gmail.com liu.ming50 at gmail.com
Sat Jan 11 15:31:38 UTC 2020


From: Ming Liu <liu.ming50 at gmail.com>

Merge bbclass inheriting lines to avoid being redundant.

Signed-off-by: Ming Liu <liu.ming50 at gmail.com>
---
 meta/classes/kernel.bbclass | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 750988f..49efc19 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -1,4 +1,4 @@
-inherit linux-kernel-base kernel-module-split
+inherit kernel-artifact-names linux-kernel-base kernel-module-split
 
 KERNEL_PACKAGE_NAME ??= "kernel"
 KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }"
@@ -676,8 +676,6 @@ do_sizecheck[dirs] = "${B}"
 
 addtask sizecheck before do_install after do_strip
 
-inherit kernel-artifact-names
-
 kernel_do_deploy() {
 	deployDir="${DEPLOYDIR}"
 	if [ -n "${KERNEL_DEPLOYSUBDIR}" ]; then
-- 
2.7.4



More information about the Openembedded-core mailing list