1 ################################################################################
5 ################################################################################
8 NINJA_SITE
= $(call github
,ninja-build
,ninja
,$(NINJA_VERSION
))
9 NINJA_LICENSE
= Apache-2.0
10 NINJA_LICENSE_FILES
= COPYING
12 HOST_NINJA_DEPENDENCIES
= $(if
$(BR2_PACKAGE_PYTHON3
),host-python3
,host-python
)
14 define HOST_NINJA_BUILD_CMDS
15 (cd
$(@D
); .
/configure.py
--bootstrap
)
18 define HOST_NINJA_INSTALL_CMDS
19 $(INSTALL
) -m
0755 -D
$(@D
)/ninja
$(HOST_DIR
)/usr
/bin
/ninja
22 $(eval
$(host-generic-package
))