Blame view

buildroot/buildroot-2016.08.1/package/ninja/ninja.mk 607 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  ################################################################################
  #
  # 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)/usr/bin/ninja
  endef
  
  $(eval $(host-generic-package))