]> code.ossystems Code Review - meta-freescale.git/commitdiff
linux-fslc: update PV definition to align with kernel-yocto
authorAndrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Mon, 4 May 2020 22:02:12 +0000 (22:02 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 6 May 2020 18:52:09 +0000 (15:52 -0300)
PV is defined in the base in linux-imx.inc file and uses the definition
LINUX_VERSION required by kernel-yocto.bbclass.

Instead of defining the PV in the target recipe, define LINUX_VERSION
which is effectively expanded in PV and used by the kernel-yocto class.

This define should match to the kernel version referenced by SRC_URI and
should be updated once patchlevel is merged.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
recipes-kernel/linux/linux-fslc_5.4.bb

index ed31021332b766ba41cfe54dceb1be962b51c1f3..bf659d8b07d9817a4f74e5174f5e026e8dd8a652 100644 (file)
@@ -1,5 +1,8 @@
 # Copyright (C) 2012-2019 O.S. Systems Software LTDA.
 # Released under the MIT license (see COPYING.MIT for the terms)
+#
+# SPDX-License-Identifier: MIT
+#
 
 SUMMARY = "FSL Community BSP Linux mainline based kernel with backported features and fixes"
 DESCRIPTION = "Linux kernel based on mainline kernel used by FSL Community BSP in order to \
@@ -11,7 +14,12 @@ include linux-fslc.inc
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
-PV = "5.4.31+git${SRCPV}"
+# PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition
+# required by kernel-yocto.bbclass.
+#
+# LINUX_VERSION define should match to the kernel version referenced by SRC_URI and
+# should be updated once patchlevel is merged.
+LINUX_VERSION = "5.4.31"
 
 SRCBRANCH = "5.4.x+fslc"
 SRCREV = "bde0c4ce26b13fe6d477d3ded90370964404a61f"