Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: export flashing and debugging info, when present
Zephyr supports the flash and debug targets via per-board information in Makefile.board files. It is sometimes convenient to know this information when inspecting the build artifacts or doing exotic builds, so include it in the file generated by outputexports. The information in Makefile.board provides what is needed. Therefore, ensure that Makefile.board, when present, is included by the generated Makefile.export. This gives users of Makefile.export access to variables like FLASH_SCRIPT, PYOCD_TARGET, etc. (These users need to cope with these variables being undefined if not given in Makefile.board, or if Makefile.board does not exist for a target.) While we're here, don't export INSTALLKERNEL. That's Linux-specific and otherwise unused; the Zephyr equivalent is FLASH_SCRIPT and its associated variables. Signed-off-by: Marti Bolivar <[email protected]>
- Loading branch information