[isar-cip-core][PATCH] linux-cip-common: Add files directory to FILESEXTRAPATHS


Kanagarajan, Vijaikumar
 

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):
--
2.17.1

Join cip-dev@lists.cip-project.org to automatically receive all group messages.