zephyr/scripts/kconfig
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
..
lxdialog First commit 2015-04-10 16:44:37 -07:00
check.sh First commit 2015-04-10 16:44:37 -07:00
conf.c scrips/kconfig: reduce impact of getenv() buffer overflow 2016-12-02 04:16:53 +00:00
confdata.c win-build: Fixes a kconfig incompatibility for Windows 2016-11-18 23:22:21 +00:00
expr.c First commit 2015-04-10 16:44:37 -07:00
expr.h First commit 2015-04-10 16:44:37 -07:00
gconf.c First commit 2015-04-10 16:44:37 -07:00
gconf.glade First commit 2015-04-10 16:44:37 -07:00
images.c First commit 2015-04-10 16:44:37 -07:00
kxgettext.c First commit 2015-04-10 16:44:37 -07:00
list.h doxygen: add @brief and capitalize 2016-02-05 20:14:33 -05:00
lkc.h kconfig: support wildcards 2016-02-05 20:24:52 -05:00
lkc_proto.h First commit 2015-04-10 16:44:37 -07:00
Makefile build: support building host tools 2017-04-25 22:48:23 +00:00
mconf.c First commit 2015-04-10 16:44:37 -07:00
menu.c kconfig: add a debug option to print defaults in menuconfig 2016-03-26 20:36:32 -04:00
merge_config.sh build: Fixes an issue with file permissions on windows 2016-05-14 15:55:04 +00:00
nconf.c First commit 2015-04-10 16:44:37 -07:00
nconf.gui.c First commit 2015-04-10 16:44:37 -07:00
nconf.h First commit 2015-04-10 16:44:37 -07:00
POTFILES.in First commit 2015-04-10 16:44:37 -07:00
qconf.cc First commit 2015-04-10 16:44:37 -07:00
qconf.h First commit 2015-04-10 16:44:37 -07:00
streamline_config.pl First commit 2015-04-10 16:44:37 -07:00
symbol.c kconfig: untangle ordering and dependencies 2016-03-26 20:36:32 -04:00
util.c win-build: Fixes a kconfig incompatibility for Windows 2016-11-18 23:22:21 +00:00
zconf.gperf First commit 2015-04-10 16:44:37 -07:00
zconf.hash.c_shipped First commit 2015-04-10 16:44:37 -07:00
zconf.l scrips/kconfig: use snprintf() vs sprintf() 2016-11-18 23:04:32 +00:00
zconf.lex.c_shipped build: fixes issue in windows Kconfig support 2016-04-23 11:27:11 +00:00
zconf.tab.c_shipped kconfig: support wildcards 2016-02-05 20:24:52 -05:00
zconf.y kconfig: support wildcards 2016-02-05 20:24:52 -05:00