diff options
author | Bruce Ashfield <bruce.ashfield@xilinx.com> | 2020-03-10 15:13:48 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-13 09:42:51 -0700 |
commit | 2afdcda5ccf445e17b5de539524be66e4cfb142e (patch) | |
tree | 9d22b10c93d84684e71dff3c480a5b1398924515 | |
parent | f97031e9a69687dfb5d0d4c1ca2c27cad140aeb9 (diff) | |
download | meta-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.inc | 7 | ||||
-rw-r--r-- | meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2020.1.bb | 1 |
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 ?= "" | |||
8 | SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}" | 8 | SRCBRANCHARG = "${@['nobranch=1', 'branch=${KBRANCH}'][d.getVar('KBRANCH', True) != '']}" |
9 | 9 | ||
10 | FILESOVERRIDES_append = ":${XILINX_RELEASE_VERSION}" | 10 | FILESOVERRIDES_append = ":${XILINX_RELEASE_VERSION}" |
11 | KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https" | 11 | KERNELURI ?= "git://github.com/Xilinx/linux-xlnx.git;protocol=https;name=machine" |
12 | SRC_URI = "${KERNELURI};${SRCBRANCHARG}" | 12 | YOCTO_META ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=yocto-kmeta" |
13 | SRC_URI = "${KERNELURI};${SRCBRANCHARG} ${YOCTO_META}" | ||
13 | 14 | ||
14 | SRCREV_machine ?= "${SRCREV}" | 15 | SRCREV_machine ?= "${SRCREV}" |
16 | SRCREV_meta ?= "b8c82ba37370e4698ff0c42f3e54b8b4f2fb4ac0" | ||
17 | SRCREV_FORMAT = "machine" | ||
15 | 18 | ||
16 | require recipes-kernel/linux/linux-yocto.inc | 19 | require recipes-kernel/linux/linux-yocto.inc |
17 | require linux-microblaze.inc | 20 | require 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 @@ | |||
1 | LINUX_VERSION = "5.4" | 1 | LINUX_VERSION = "5.4" |
2 | KBRANCH ?= "xlnx_rebase_v4.19" | ||
3 | SRCREV ?= "b983d5fd71d4feaf494cdbe0593ecc29ed471cb8" | 2 | SRCREV ?= "b983d5fd71d4feaf494cdbe0593ecc29ed471cb8" |
4 | 3 | ||
5 | include linux-xlnx.inc | 4 | include linux-xlnx.inc |