mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-01-29 21:58:41 +01:00
zephyr-core/zephyr-kernel: Use layer-relative require for version file
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 <Peter.Hoyes@arm.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
committed by
Naveen Saini
parent
64e1fbbaa9
commit
63a8fdc41c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user