![Adam Duskett](/assets/img/avatar_default.png)
Ninja 1.10.0 now supports cmake as a build system. This change makes the make file much more straightforward. The host-python2 dependency is no longer needed as it is no longer used during the build. We however need to keep install commands as there is no installation step planned in CMakeLists.txt. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
17 lines
445 B
Makefile
17 lines
445 B
Makefile
################################################################################
|
|
#
|
|
# ninja
|
|
#
|
|
################################################################################
|
|
|
|
NINJA_VERSION = 1.10.0
|
|
NINJA_SITE = $(call github,ninja-build,ninja,v$(NINJA_VERSION))
|
|
NINJA_LICENSE = Apache-2.0
|
|
NINJA_LICENSE_FILES = COPYING
|
|
|
|
define HOST_NINJA_INSTALL_CMDS
|
|
$(INSTALL) -m 0755 -D $(@D)/ninja $(HOST_DIR)/bin/ninja
|
|
endef
|
|
|
|
$(eval $(host-cmake-package))
|