mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-09 19:58:24 +00:00
To speed up builds, this change allows building the needed host tools that are built for every application and stores them un ${ZEPHYR_BASE}/bin. Run 'make host-tools' and then define PREBUILT_HOST_TOOLS to reuse the host tools across multiple builds. $ make host-tools HOSTCC scripts/basic/fixdep HOSTCC scripts/gen_idt/version.o HOSTCC scripts/gen_idt/gen_idt.o HOSTLD scripts/gen_idt/gen_idt HOSTCC scripts/gen_offset_header/gen_offset_header.o HOSTLD scripts/gen_offset_header/gen_offset_header HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf $ export PREBUILT_HOST_TOOLS=${ZEPHYR_BASE}/bin $ make -C samples/hello_world Now you will notice a speedup when building the application! Change-Id: Ie0aeee7f9a60b1fd49e7e32d78601f03473d73b8 Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
||
---|---|---|
.. | ||
basic | ||
cross_compiler | ||
gen_idt | ||
gen_offset_header | ||
kconfig | ||
sanity_chk | ||
support | ||
.gitignore | ||
build_grub.sh | ||
check_known_checkpatch_issues.sh | ||
check_link_map.py | ||
checkconfig.py | ||
checkpatch.pl | ||
checkstack.pl | ||
compare_footprint | ||
config | ||
devicetree.py | ||
diffconfig | ||
do_checkpatch.sh | ||
expr_parser.py | ||
extract_dts_includes.py | ||
filter-known-issues.py | ||
gcc-version.sh | ||
get_maintainer.pl | ||
headerdep.pl | ||
Kbuild.include | ||
maintainer-checkpatch.bash | ||
make-ll | ||
Makefile | ||
Makefile.build | ||
Makefile.clean | ||
Makefile.extrawarn | ||
Makefile.headersinst | ||
Makefile.help | ||
Makefile.host | ||
Makefile.lib | ||
Makefile.modbuiltin | ||
Makefile.qemu | ||
Makefile.toolchain.gccarmemb | ||
Makefile.toolchain.issm | ||
Makefile.toolchain.riscv32 | ||
Makefile.toolchain.xcc | ||
Makefile.toolchain.xtools | ||
Makefile.toolchain.zephyr | ||
Makefile.xt-run | ||
Makefile.xtsc-run | ||
mkmakefile | ||
mksysmap | ||
qemu-machine-hack.py | ||
sanitycheck | ||
size_report | ||
spelling.txt | ||
tags.sh | ||
timestamp | ||
uncrustify.cfg | ||
vercomp | ||
waitpid |