diff options
-rw-r--r-- | Kconfig | 13 | ||||
-rw-r--r-- | mk/toolchain.mk | 3 |
2 files changed, 14 insertions, 2 deletions
@@ -81,7 +81,18 @@ source kconfig/fs.kconfig source kconfig/packages.kconfig endif -menu "Embtoolkit build options" +menu "Embtoolkit build options and host tools" +comment "-----------------------------" +comment "Host tools" +comment "-----------------------------" + +config EMBTK_HOST_HAVE_CMAKE + bool "Build cmake for the host development machine" + +comment "-----------------------------" +comment "Build options" +comment "-----------------------------" + config EMBTK_NUMBER_BUILD_JOBS int "Number of parallel build jobs" default 1 diff --git a/mk/toolchain.mk b/mk/toolchain.mk index 0ccaba5..651c327 100644 --- a/mk/toolchain.mk +++ b/mk/toolchain.mk @@ -83,11 +83,12 @@ AUTOTOOLS_INSTALL := m4_install libtool_install autoconf_install \ automake_install #cmake include $(EMBTK_ROOT)/mk/cmake.mk +EMBTK_CMAKE_INSTALL := $(if $(CONFIG_EMBTK_HOST_HAVE_CMAKE),cmake_install,) ifeq ($(CONFIG_EMBTK_CLIB_EGLIBC),y) #EGLIBC include $(EMBTK_ROOT)/mk/eglibc.mk -TOOLCHAINBUILD := mkinitialpath $(AUTOTOOLS_INSTALL) cmake_install \ +TOOLCHAINBUILD := mkinitialpath $(AUTOTOOLS_INSTALL) $(EMBTK_CMAKE_INSTALL) \ kernel-headers_install ccachehost_install \ gmphost_install mpfrhost_install mpchost_install \ binutils_install gcc1_install eglibc-headers_install \ |