zephyr/scripts
Anas Nashif 19ee5efa61 build: support building host tools
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>
2017-04-25 22:48:23 +00:00
..
basic
cross_compiler
gen_idt Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
gen_offset_header
kconfig build: support building host tools 2017-04-25 22:48:23 +00:00
sanity_chk sanitycheck: Add hexiwear_kw40z 2017-04-14 05:56:53 -05:00
support scripts/dfuutil: support both "alternate setting" name and number 2017-04-09 14:57:36 +00:00
.gitignore
build_grub.sh
check_known_checkpatch_issues.sh
check_link_map.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
checkconfig.py
checkpatch.pl checkpatch: update checkpatch to warn about C99 type usage 2017-04-21 17:24:04 +00:00
checkstack.pl
compare_footprint
config
devicetree.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
diffconfig
do_checkpatch.sh
expr_parser.py expr_parser: fix issue with hex values in environment 2017-04-18 20:51:26 +00:00
extract_dts_includes.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
filter-known-issues.py filter-known-issues: fix missing variable printing 2017-02-27 21:51:47 +00:00
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 dts: Add application overlay support. 2017-04-06 09:19:28 +00:00
Makefile.modbuiltin
Makefile.qemu build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
Makefile.toolchain.gccarmemb toolchain.gccarmemb: set DTC for building targets that use devicetrees 2017-02-14 14:15:10 +00:00
Makefile.toolchain.issm
Makefile.toolchain.riscv32
Makefile.toolchain.xcc xtensa: build similar to other Zephyr arches 2017-04-13 12:42:06 +00:00
Makefile.toolchain.xtools
Makefile.toolchain.zephyr build: use -O2 instead of -Os for ARC with SDK 0.9 2017-04-09 14:57:50 +00:00
Makefile.xt-run xtensa: build similar to other Zephyr arches 2017-04-13 12:42:06 +00:00
Makefile.xtsc-run xtensa: build similar to other Zephyr arches 2017-04-13 12:42:06 +00:00
mkmakefile
mksysmap
qemu-machine-hack.py build: make sure we are calling python3 in all scripts 2017-04-13 20:22:54 +00:00
sanitycheck sanitycheck: catch ValueErrors when evaulating expressions 2017-04-18 20:51:48 +00:00
size_report
spelling.txt
tags.sh
timestamp
uncrustify.cfg scripts: add configuration file for uncrustify 2017-02-04 01:46:29 +00:00
vercomp
waitpid sanitycheck: Let waitpid script kill Xtensa ISS if user hits ctrl+c. 2017-04-11 16:53:41 +00:00