0f9c0bf3d5
Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
603 B
Makefile
23 lines
603 B
Makefile
################################################################################
|
|
#
|
|
# ninja
|
|
#
|
|
################################################################################
|
|
|
|
NINJA_VERSION = v1.7.1
|
|
NINJA_SITE = $(call github,ninja-build,ninja,$(NINJA_VERSION))
|
|
NINJA_LICENSE = Apache-2.0
|
|
NINJA_LICENSE_FILES = COPYING
|
|
|
|
HOST_NINJA_DEPENDENCIES = $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)
|
|
|
|
define HOST_NINJA_BUILD_CMDS
|
|
(cd $(@D); ./configure.py --bootstrap)
|
|
endef
|
|
|
|
define HOST_NINJA_INSTALL_CMDS
|
|
$(INSTALL) -m 0755 -D $(@D)/ninja $(HOST_DIR)/bin/ninja
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|