blob: 0b638bdcbfdc9a166fe7c4cff51423ba3a798e77 [file] [log] [blame]
#############################################################
#
# ninja
#
#############################################################
NINJA_VERSION:=1.5.3
NINJA_SOURCE:=v$(NINJA_VERSION).tar.gz
NINJA_SITE:=https://github.com/martine/ninja/archive/
NINJA_DEPENDENCIES = host-python
define HOST_NINJA_BUILD_CMDS
cd $(@D) && $(HOST_DIR)/usr/bin/python ./configure.py --bootstrap
endef
define HOST_NINJA_INSTALL_CMDS
$(INSTALL) $(@D)/ninja $(HOST_DIR)/usr/bin
endef
$(eval $(call GENTARGETS,host))