From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XromG-0002po-Vn for ptxdist@pengutronix.de; Fri, 21 Nov 2014 15:01:36 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1XromG-0007bW-UG for ptxdist@pengutronix.de; Fri, 21 Nov 2014 15:01:36 +0100 Date: Fri, 21 Nov 2014 15:01:36 +0100 From: Michael Olbrich Message-ID: <20141121140136.GI19664@pengutronix.de> References: <1416471810-15176-1-git-send-email-mpa@pengutronix.de> <1416471810-15176-6-git-send-email-mpa@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1416471810-15176-6-git-send-email-mpa@pengutronix.de> Subject: Re: [ptxdist] [PATCH 6/7] host-ninja: Ninja build tool Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Nov 20, 2014 at 09:23:29AM +0100, Markus Pargmann wrote: > Signed-off-by: Markus Pargmann > --- > rules/host-ninja.in | 8 ++++++++ > rules/host-ninja.make | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 57 insertions(+) > create mode 100644 rules/host-ninja.in > create mode 100644 rules/host-ninja.make > > diff --git a/rules/host-ninja.in b/rules/host-ninja.in > new file mode 100644 > index 000000000000..563f48ea7072 > --- /dev/null > +++ b/rules/host-ninja.in > @@ -0,0 +1,8 @@ > +## SECTION=hosttools_noprompt > + > +config HOST_NINJA > + tristate > + prompt "ninja" noprompt means no prompt :-) > + select HOST_PYTHON select HOST_SYSTEM_PYTHON HOST_PYTHON is only used if you need the exact same version as the target python. Michael > + help > + Ninja build tool > diff --git a/rules/host-ninja.make b/rules/host-ninja.make > new file mode 100644 > index 000000000000..32e6a604b881 > --- /dev/null > +++ b/rules/host-ninja.make > @@ -0,0 +1,49 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2014 by Markus Pargmann > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +HOST_PACKAGES-$(PTXCONF_HOST_NINJA) += host-ninja > + > +# > +# Paths and names > +# > +HOST_NINJA_VERSION := 1.5.1 > +HOST_NINJA_MD5 := 59f4f1cf5d9bb0d7877a6d5a5afd770a > +HOST_NINJA := ninja-$(HOST_NINJA_VERSION) > +HOST_NINJA_SUFFIX := tar.gz > +HOST_NINJA_URL := https://github.com/martine/ninja/archive/v$(HOST_NINJA_VERSION).$(HOST_NINJA_SUFFIX) > +HOST_NINJA_SOURCE := $(SRCDIR)/$(HOST_NINJA).$(HOST_NINJA_SUFFIX) > +HOST_NINJA_DIR := $(HOST_BUILDDIR)/$(HOST_NINJA) > + > +# ---------------------------------------------------------------------------- > +# Compile > +# ---------------------------------------------------------------------------- > + > +HOST_NINJA_PATH := PATH=$(HOST_PATH) > + > +$(STATEDIR)/host-ninja.compile: > + @$(call targetinfo) > + cd $(HOST_NINJA_DIR) && \ > + $(HOST_NINJA_PATH) \ > + python bootstrap.py > + @$(call touch) > + > +# ---------------------------------------------------------------------------- > +# Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/host-ninja.install: > + @$(call targetinfo) > + install -D -m755 $(HOST_NINJA_DIR)/ninja $(HOST_NINJA_PKGDIR)/bin/ninja > + @$(call touch) > + > +# vim: syntax=make > -- > 2.1.1 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de