mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-01-29 21:58:41 +01:00
zephyr-kernel-src.inc: Support samples from external layers
The inc file references patch(es) local to the inc file. Including this file from another recipe as part of an external layer, will make bitbake fail finding the files referenced in zephyr-kernel-src.inc's SRC_URI. By including an explicit path to the files directory in FILESEXTRAPATHS, we make sure that any recipe including this inc file will inherit the needed path. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
This commit is contained in:
committed by
Naveen Saini
parent
dcad4183b0
commit
d52c30f411
@@ -7,6 +7,11 @@ include zephyr-kernel-src-${PREFERRED_VERSION_zephyr-kernel}.inc
|
||||
|
||||
inherit cmake
|
||||
|
||||
# This file might be included from other places (like other layers) and not
|
||||
# having an explicit path to the patches directory, will make bitbake fail to
|
||||
# find the patch(es) in SRC_URI.
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
|
||||
|
||||
SRC_URI = "\
|
||||
git://github.com/zephyrproject-rtos/zephyr.git;protocol=https;branch=master;name=default \
|
||||
git://github.com/zephyrproject-rtos/cmsis.git;protocol=https;destsuffix=git/modules/cmsis;name=cmsis \
|
||||
|
||||
Reference in New Issue
Block a user