From: Jon Mason Date: Wed, 14 Aug 2024 19:59:18 +0000 (-0400) Subject: kernel.bbclass: remove unused CMDLINE_CONSOLE X-Git-Tag: yocto-5.1~288 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d075b7c8f15488d98f0cda7b59de9dbed2a4f2d1;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git kernel.bbclass: remove unused CMDLINE_CONSOLE CMDLINE_CONSOLE appears to be a legacy variable that is unused anywhere, and has not been modified the creation of the git tree. Remove it and make life simpler. Signed-off-by: Jon Mason Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass index 4464155b730..cdcc5e00320 100644 --- a/meta/classes-recipe/kernel.bbclass +++ b/meta/classes-recipe/kernel.bbclass @@ -227,8 +227,6 @@ KERNEL_DTBVENDORED ?= "0" # # configuration # -export CMDLINE_CONSOLE = "console=${@d.getVar("KERNEL_CONSOLE") or "ttyS0"}" - KERNEL_VERSION = "${@get_kernelversion_headers('${B}')}" # kernels are generally machine specific