From cfd5784236ca631215cdefa21dfe36f6f194eb47 Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Mon, 4 May 2020 22:02:12 +0000 Subject: [PATCH] linux-fslc: update PV definition to align with kernel-yocto 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 --- recipes-kernel/linux/linux-fslc_5.4.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-fslc_5.4.bb b/recipes-kernel/linux/linux-fslc_5.4.bb index ed310213..bf659d8b 100644 --- a/recipes-kernel/linux/linux-fslc_5.4.bb +++ b/recipes-kernel/linux/linux-fslc_5.4.bb @@ -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" -- 2.40.1