diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-09-23 13:04:10 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2010-09-23 13:04:10 +0200 |
commit | 5153e5556c424aa381c7ba4111d4fbe2284cb735 (patch) | |
tree | 84ca75a83d67294a503c6a379fd9440fec7d2d43 | |
parent | 43382fdb1bd53a159802a9f756ec2f1942dc355b (diff) | |
download | embtoolkit-5153e5556c424aa381c7ba4111d4fbe2284cb735.tar.gz embtoolkit-5153e5556c424aa381c7ba4111d4fbe2284cb735.tar.bz2 embtoolkit-5153e5556c424aa381c7ba4111d4fbe2284cb735.tar.xz |
Embtk: optionally build cmake and create build options ans host tools in main menu
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-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 \ |