From: Peter Hoyes <[email protected]>

The inclusion of the Zephyr version-specific .inc file is currently
using a local include. Change to be layer-relative to support including
files in other layers.

Change to use 'require' instead of 'include' so that an earlier error is
printed if the file does not exist.

Signed-off-by: Peter Hoyes <[email protected]>
---
 .../recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc 
b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc
index aa299e0..a19d074 100644
--- a/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc
+++ b/meta-zephyr-core/recipes-kernel/zephyr-kernel/zephyr-kernel-src.inc
@@ -13,4 +13,4 @@ S = "${WORKDIR}/git"
 
 # Default to a stable version
 PREFERRED_VERSION_zephyr-kernel ??= "3.2.0"
-include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc
+require 
recipes-kernel/zephyr-kernel/zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58813): https://lists.yoctoproject.org/g/yocto/message/58813
Mute This Topic: https://lists.yoctoproject.org/mt/95711791/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to