* [cip-dev] [isar-cip-core][PATCH] linux-cip-common: Add files directory to FILESEXTRAPATHS
@ 2021-01-13 21:25 Kanagarajan, Vijaikumar
2021-01-14 6:06 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Kanagarajan, Vijaikumar @ 2021-01-13 21:25 UTC (permalink / raw)
To: cip-dev, jan.kiszka; +Cc: quirin.gylstorff, Vijai Kumar K
[-- Attachment #1: Type: text/plain, Size: 937 bytes --]
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
[-- Attachment #2: Type: text/plain, Size: 420 bytes --]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6082): https://lists.cip-project.org/g/cip-dev/message/6082
Mute This Topic: https://lists.cip-project.org/mt/79661830/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [cip-dev] [isar-cip-core][PATCH] linux-cip-common: Add files directory to FILESEXTRAPATHS
2021-01-13 21:25 [cip-dev] [isar-cip-core][PATCH] linux-cip-common: Add files directory to FILESEXTRAPATHS Kanagarajan, Vijaikumar
@ 2021-01-14 6:06 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2021-01-14 6:06 UTC (permalink / raw)
To: cip-dev, Kanagarajan, Vijaikumar; +Cc: quirin.gylstorff
[-- Attachment #1: Type: text/plain, Size: 1135 bytes --]
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
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
[-- Attachment #2: Type: text/plain, Size: 420 bytes --]
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6084): https://lists.cip-project.org/g/cip-dev/message/6084
Mute This Topic: https://lists.cip-project.org/mt/79661830/4520388
Group Owner: cip-dev+owner@lists.cip-project.org
Unsubscribe: https://lists.cip-project.org/g/cip-dev/leave/8129055/727948398/xyzzy [cip-dev@archiver.kernel.org]
-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-14 6:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13 21:25 [cip-dev] [isar-cip-core][PATCH] linux-cip-common: Add files directory to FILESEXTRAPATHS Kanagarajan, Vijaikumar
2021-01-14 6:06 ` Jan Kiszka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).