summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Rehsack <sno@netbsd.org>2020-05-24 12:58:13 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2020-05-25 09:49:18 -0300
commitbe77bec32f7ea42334b60bf8c51f0586f87002f0 (patch)
tree950c808209a4ffce86b3a61f35caf38eba93e159
parent177ad5484ab9c61044f5dc0bb6ac396ca31bb860 (diff)
downloadmeta-freescale-be77bec32f7ea42334b60bf8c51f0586f87002f0.tar.gz
linux-qoriq.inc: build kernel PV as linux-imx.inc
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>
-rw-r--r--recipes-kernel/linux/linux-qoriq.inc3
-rw-r--r--recipes-kernel/linux/linux-qoriq_5.4.bb2
2 files changed, 5 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc
index 7f70260a..dcf28401 100644
--- a/recipes-kernel/linux/linux-qoriq.inc
+++ b/recipes-kernel/linux/linux-qoriq.inc
@@ -18,6 +18,9 @@ KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}"
18ZIMAGE_BASE_NAME = "zImage-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" 18ZIMAGE_BASE_NAME = "zImage-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
19ZIMAGE_BASE_NAME[vardepsexclude] = "DATETIME" 19ZIMAGE_BASE_NAME[vardepsexclude] = "DATETIME"
20 20
21# Set the PV to the correct kernel version to satisfy the kernel version sanity check
22PV = "${LINUX_VERSION}+git${SRCPV}"
23
21SCMVERSION ?= "y" 24SCMVERSION ?= "y"
22LOCALVERSION = "" 25LOCALVERSION = ""
23DELTA_KERNEL_DEFCONFIG ?= "" 26DELTA_KERNEL_DEFCONFIG ?= ""
diff --git a/recipes-kernel/linux/linux-qoriq_5.4.bb b/recipes-kernel/linux/linux-qoriq_5.4.bb
index 2d6c7cc5..1b152106 100644
--- a/recipes-kernel/linux/linux-qoriq_5.4.bb
+++ b/recipes-kernel/linux/linux-qoriq_5.4.bb
@@ -1,5 +1,7 @@
1LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" 1LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
2 2
3LINUX_VERSION = "5.4.3"
4
3SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/linux;nobranch=1 \ 5SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/linux;nobranch=1 \
4 file://0001-Makfefile-linux-5.4-add-warning-cflags-on-LSDK-20.04.patch \ 6 file://0001-Makfefile-linux-5.4-add-warning-cflags-on-LSDK-20.04.patch \
5 file://0001-perf-Make-perf-able-to-build-with-latest-libbfd.patch \ 7 file://0001-perf-Make-perf-able-to-build-with-latest-libbfd.patch \