From 1bb212d9311a6b6b9a61b8a805eebb585633d128 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Thu, 19 Dec 2019 09:34:35 +0000 Subject: toradex-kernel-localversion: disable automatic localversion Make sure LOCALVERSION_AUTO is disabled to avoid interference with our LOCALVERSION. This fixes building of the i.MX 8 kernel recipe. Signed-off-by: Stefan Agner --- classes/toradex-kernel-localversion.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/toradex-kernel-localversion.bbclass b/classes/toradex-kernel-localversion.bbclass index 828b227..80682fd 100644 --- a/classes/toradex-kernel-localversion.bbclass +++ b/classes/toradex-kernel-localversion.bbclass @@ -17,6 +17,7 @@ LOCALVERSION ?= "-${TDX_VERSION}" kernel_do_configure_append() { sed -i -e /CONFIG_LOCALVERSION/d ${B}/.config echo "CONFIG_LOCALVERSION=\"${LOCALVERSION}\"" >> ${B}/.config + echo "# CONFIG_LOCALVERSION_AUTO is not set" >> ${B}/.config if [ "${SCMVERSION}" = "y" ]; then # Add GIT revision to the local version -- cgit v1.2.3