imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / ninja / Makefile
blob2ab4e6df17d9c8d9d7d4817436b82b6955c16b5d
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= ninja
7 PKG_VERSION:= 1.8.2
8 PKG_RELEASE:= 2
9 PKG_HASH:= 86b8700c3d0880c2b44c2ff67ce42774aaf8c28cbf57725cb881569288c1c6f4
10 PKG_DESCR:= build utility
11 PKG_SECTION:= dev/tools
12 HOST_BUILDDEP:= python3-host
13 PKG_URL:= http://www.ninja-build.org/
14 PKG_SITES:= https://github.com/ninja-build/ninja/archive/
16 DISTFILES:= v${PKG_VERSION}.tar.gz
18 PKG_CFLINE_NINJA:= depends on ADK_HOST_ONLY
20 include $(ADK_TOPDIR)/mk/host.mk
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call HOST_template,NINJA,ninja,$(PKG_VERSION)-${PKG_RELEASE}))
25 HOST_STYLE:= manual
27 host-configure:
28 (cd $(WRKBUILD); ./configure.py --bootstrap)
30 host-build:
32 ninja-hostinstall:
33 $(INSTALL_BIN) $(WRKBUILD)/ninja \
34 $(STAGING_HOST_DIR)/usr/bin
36 include ${ADK_TOPDIR}/mk/host-bottom.mk
37 include ${ADK_TOPDIR}/mk/pkg-bottom.mk