diff options
author | Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com> | 2020-05-04 22:02:12 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-05-06 15:52:09 -0300 |
commit | cfd5784236ca631215cdefa21dfe36f6f194eb47 (patch) | |
tree | 71a32a3b78d561fed05ac77ad142f631f8088819 | |
parent | c7e23876b199e2cfbc2aef6bf192ef50e665b1c5 (diff) | |
download | meta-freescale-cfd5784236ca631215cdefa21dfe36f6f194eb47.tar.gz |
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 <andrey.zhizhikin@leica-geosystems.com>
-rw-r--r-- | recipes-kernel/linux/linux-fslc_5.4.bb | 10 |
1 files changed, 9 insertions, 1 deletions
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 @@ | |||
1 | # Copyright (C) 2012-2019 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2012-2019 O.S. Systems Software LTDA. |
2 | # Released under the MIT license (see COPYING.MIT for the terms) | 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
3 | # | ||
4 | # SPDX-License-Identifier: MIT | ||
5 | # | ||
3 | 6 | ||
4 | SUMMARY = "FSL Community BSP Linux mainline based kernel with backported features and fixes" | 7 | SUMMARY = "FSL Community BSP Linux mainline based kernel with backported features and fixes" |
5 | DESCRIPTION = "Linux kernel based on mainline kernel used by FSL Community BSP in order to \ | 8 | DESCRIPTION = "Linux kernel based on mainline kernel used by FSL Community BSP in order to \ |
@@ -11,7 +14,12 @@ include linux-fslc.inc | |||
11 | 14 | ||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" | 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" |
13 | 16 | ||
14 | PV = "5.4.31+git${SRCPV}" | 17 | # PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition |
18 | # required by kernel-yocto.bbclass. | ||
19 | # | ||
20 | # LINUX_VERSION define should match to the kernel version referenced by SRC_URI and | ||
21 | # should be updated once patchlevel is merged. | ||
22 | LINUX_VERSION = "5.4.31" | ||
15 | 23 | ||
16 | SRCBRANCH = "5.4.x+fslc" | 24 | SRCBRANCH = "5.4.x+fslc" |
17 | SRCREV = "bde0c4ce26b13fe6d477d3ded90370964404a61f" | 25 | SRCREV = "bde0c4ce26b13fe6d477d3ded90370964404a61f" |