summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@xilinx.com>2020-03-10 15:13:48 -0700
committerMark Hatle <mark.hatle@xilinx.com>2020-03-13 09:42:51 -0700
commit2afdcda5ccf445e17b5de539524be66e4cfb142e (patch)
tree9d22b10c93d84684e71dff3c480a5b1398924515
parentf97031e9a69687dfb5d0d4c1ca2c27cad140aeb9 (diff)
downloadmeta-xilinx-2afdcda5ccf445e17b5de539524be66e4cfb142e.tar.gz
linux-xlnx: cleanup and make yocto-kernel-cache available
The following cleanups are done: - remove the invalid KBRANCH setting of xlnx_rebase_v4.19, this doesn't belong below the LINUX_VERSION = "5.4" variable, since it confuses users - explicitly set the SRCREV_FORMAT to MACHINE, since we are not using the kernel-cache SRCREV as a rebuild trigger - make the yocto-kernel-cache avialable by default, since there are re-usable kernel features which can be exploited in its directory structure. We use the latest (v5.4) branch and set the SRCREV Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc7
-rw-r--r--meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb1
2 files changed, 5 insertions, 3 deletions
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc
index b0b0c6a3..ec50e2d0 100644
--- a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc
+++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx.inc
@@ -8,10 +8,13 @@ KBRANCH ?= ""
8SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}" 8SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}"
9 9
10FILESOVERRIDES_append = ":${XILINX_RELEASE_VERSION}" 10FILESOVERRIDES_append = ":${XILINX_RELEASE_VERSION}"
11KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https" 11KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine"
12SRC_URI = "${KERNELURI};${SRCBRANCHARG}" 12YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=yocto-kmeta"
13SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}"
13 14
14SRCREV_machine ?= "${SRCREV}" 15SRCREV_machine ?= "${SRCREV}"
16SRCREV_meta ?= "b8c82ba37370e4698ff0c42f3e54b8b4f2fb4ac0"
17SRCREV_FORMAT = "machine"
15 18
16require recipes-kernel/linux/linux-yocto.inc 19require recipes-kernel/linux/linux-yocto.inc
17require linux-microblaze.inc 20require linux-microblaze.inc
diff --git a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb
index 2b8763a9..aefc564a 100644
--- a/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb
+++ b/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb
@@ -1,5 +1,4 @@
1LINUX_VERSION = "5.4" 1LINUX_VERSION = "5.4"
2KBRANCH ?= "xlnx_rebase_v4.19"
3SRCREV ?= "b983d5fd71d4feaf494cdbe0593ecc29ed471cb8" 2SRCREV ?= "b983d5fd71d4feaf494cdbe0593ecc29ed471cb8"
4 3
5include linux-xlnx.inc 4include linux-xlnx.inc