]> code.ossystems Code Review - meta-freescale.git/commitdiff
linux-qoriq.inc: build kernel PV as linux-imx.inc
authorJens Rehsack <sno@netbsd.org>
Sun, 24 May 2020 10:58:13 +0000 (12:58 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 25 May 2020 12:49:18 +0000 (09:49 -0300)
For later common kernel *.inc files, adopt setting the PV to the correct
kernel version to satisfy the kernel version sanity check.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
recipes-kernel/linux/linux-qoriq.inc
recipes-kernel/linux/linux-qoriq_5.4.bb

index 7f70260a6f098584c6a83fe857873009284fa0a6..dcf2840112794e69470a5d232e404ee3526a60e8 100644 (file)
@@ -18,6 +18,9 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
 ZIMAGE_BASE_NAME = "zImage-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
 ZIMAGE_BASE_NAME[vardepsexclude] = "DATETIME"
 
+# Set the PV to the correct kernel version to satisfy the kernel version sanity check
+PV = "${LINUX_VERSION}+git${SRCPV}"
+
 SCMVERSION ?= "y"
 LOCALVERSION = ""
 DELTA_KERNEL_DEFCONFIG ?= ""
index 2d6c7cc504618024e3772a3e4beb849473c6d523..1b152106a9160468c9e53eaee8eb85d12d000dff 100644 (file)
@@ -1,5 +1,7 @@
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
+LINUX_VERSION = "5.4.3"
+
 SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/linux;nobranch=1 \
     file://0001-Makfefile-linux-5.4-add-warning-cflags-on-LSDK-20.04.patch \
     file://0001-perf-Make-perf-able-to-build-with-latest-libbfd.patch \