mirror of
https://git.yoctoproject.org/meta-zephyr
synced 2026-04-28 00:32:10 +02:00
* Restructure recipe to use include files as opposed to a bbclass. The latter is unnatural when defining versions, sources etc. * Make the zephyr-kernel-src follow the version as defined by PREFERRED_VERSION_zephyr-kernel. * Make the setup of the zephyr-kernel-src.inc extensible for multiple versions. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
20 lines
373 B
BlitzBasic
20 lines
373 B
BlitzBasic
include zephyr-kernel-src.inc
|
|
|
|
ZEPHYR_TEST_SRCDIR = "tests/legacy/kernel/"
|
|
|
|
IMAGE_NO_MANIFEST = "1"
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
do_configure[noexec] = "1"
|
|
do_compile[noexec] = "1"
|
|
do_install () {
|
|
kerneldir=${D}/usr/src/zephyr
|
|
install -d $kerneldir
|
|
cp -r ${S}/* $kerneldir
|
|
}
|
|
|
|
PACKAGES = "${PN}"
|
|
FILES_${PN} = "/usr/src/zephyr"
|
|
|
|
SYSROOT_DIRS += "/usr/src/zephyr"
|