aboutsummaryrefslogtreecommitdiffstats
path: root/classes/zephyr.bbclass
AgeCommit message (Collapse)Author
2020-12-14classes: build zephyr-kernel-test-all for non-qemu boardsWojciech Zmuda
Machines not inheriting zephyr-qemuboot did not have IMGDEPLOYDIR variable set, which is required for building zephyr-kernel-test-all. The build was fine for qemu-xxx machines, but for physical boards it failed somewhere inside python code when .join() got an empty argument incoming from IMGDEPLOYDIR. Move IMGDEPLOYDIR to zephyr class, so it's defined for qemu and non-qemu machines. Signed-off-by: Wojciech Zmuda <wojciech.zmuda@huawei.com> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2020-09-29zephyr.bbclass: Add ability to set boardJon Mason
Currently, there is no ability to set the board used by Zephyr. This limits the ability to set the board to something other than the machine name. By setting up an intermediate variable, ZEPHYR_BOARD, this can be set by those that know better (with the default to use the machine name as before). Signed-off-by: Jon Mason <jon.mason@arm.com>
2017-01-18zephyr.bbclass: support for image configurationJuro Bystricky
New class to support commands such as: $ MACHINE=xxx bitbake yyy -c menuconfig $ MACHINE=xxx bitbake yyy -c devshell Kernel options are typically configured via menuconfig. The file "prj.conf" must be edited manually, hence the need for devshell. Once in devshell, user can use their favorite editor to edit the file. For proper operation, these two variables need to be set in recipes: ZEPHYR_SRC_DIR : path to the source, typically place with prj.conf ZEPHYR_BASE: Zephyr kernel tree location [YOCTO#10657] Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>