summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-09-23 13:04:10 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-09-23 13:04:10 +0200
commit5153e5556c424aa381c7ba4111d4fbe2284cb735 (patch)
tree84ca75a83d67294a503c6a379fd9440fec7d2d43 /mk
parent43382fdb1bd53a159802a9f756ec2f1942dc355b (diff)
downloadembtoolkit-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>
Diffstat (limited to 'mk')
-rw-r--r--mk/toolchain.mk3
1 files changed, 2 insertions, 1 deletions
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 \