summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2019-12-19 09:34:35 +0000
committerStefan Agner <stefan.agner@toradex.com>2019-12-19 09:34:35 +0000
commit1bb212d9311a6b6b9a61b8a805eebb585633d128 (patch)
tree038a6d0d5931c9afd34273d04cef9c7feb877da4
parentf45481ce778f0d73cf935bbaeee32d86252444b1 (diff)
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 <stefan.agner@toradex.com>
-rw-r--r--classes/toradex-kernel-localversion.bbclass1
1 files changed, 1 insertions, 0 deletions
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