mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-08 04:45:21 +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> |
||
---|---|---|
.known-issues | ||
arch | ||
boards | ||
doc | ||
drivers | ||
dts | ||
ext | ||
include | ||
kernel | ||
lib | ||
misc | ||
samples | ||
scripts | ||
subsys | ||
tests | ||
.checkpatch.conf | ||
.gitattributes | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
defaults.tc | ||
Kbuild | ||
Kconfig | ||
Kconfig.zephyr | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
Makefile.inc | ||
Makefile.test | ||
zephyr-env.sh |