Message ID | 20210113212505.15175-1-Vijaikumar_Kanagarajan@mentor.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Nobuhiro Iwamatsu |
Headers | show |
Series | [isar-cip-core] linux-cip-common: Add files directory to FILESEXTRAPATHS | expand |
On 13.01.21 22:25, Kanagarajan, Vijaikumar wrote: > Add recipes-kernel/linux/files directory to searchpath. > > Files like preempt-rt.cfg are not accesible when you use > the linux-cip-rt-common.inc file in linux recipes defined > in other layers. > This makes the linux-cip-rt-common.inc file unusable in > other layers. > > Fix that by adding recipes-kernel/linux/files to > FILESEXTRAPATHS. > > Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com> > --- > recipes-kernel/linux/linux-cip-common.inc | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/recipes-kernel/linux/linux-cip-common.inc b/recipes-kernel/linux/linux-cip-common.inc > index 6db1d1d..f35168f 100644 > --- a/recipes-kernel/linux/linux-cip-common.inc > +++ b/recipes-kernel/linux/linux-cip-common.inc > @@ -9,6 +9,8 @@ > # SPDX-License-Identifier: MIT > # > > +FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/files:" > + > KERNEL_DEFCONFIG ?= "${MACHINE}_defconfig" > > def conditional(variable, checkvalue, truevalue, falsevalue, d): > > > Thanks, applied. Jan
diff --git a/recipes-kernel/linux/linux-cip-common.inc b/recipes-kernel/linux/linux-cip-common.inc index 6db1d1d..f35168f 100644 --- a/recipes-kernel/linux/linux-cip-common.inc +++ b/recipes-kernel/linux/linux-cip-common.inc @@ -9,6 +9,8 @@ # SPDX-License-Identifier: MIT # +FILESEXTRAPATHS_prepend := "${FILE_DIRNAME}/files:" + KERNEL_DEFCONFIG ?= "${MACHINE}_defconfig" def conditional(variable, checkvalue, truevalue, falsevalue, d):
Add recipes-kernel/linux/files directory to searchpath. Files like preempt-rt.cfg are not accesible when you use the linux-cip-rt-common.inc file in linux recipes defined in other layers. This makes the linux-cip-rt-common.inc file unusable in other layers. Fix that by adding recipes-kernel/linux/files to FILESEXTRAPATHS. Signed-off-by: Vijai Kumar K <Vijaikumar_Kanagarajan@mentor.com> --- recipes-kernel/linux/linux-cip-common.inc | 2 ++ 1 file changed, 2 insertions(+)