From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 6/7] host-ninja: Ninja build tool
Date: Fri, 21 Nov 2014 15:09:16 +0100 [thread overview]
Message-ID: <20141121140916.GK19664@pengutronix.de> (raw)
In-Reply-To: <20141121140136.GI19664@pengutronix.de>
On Fri, Nov 21, 2014 at 03:01:36PM +0100, Michael Olbrich wrote:
> On Thu, Nov 20, 2014 at 09:23:29AM +0100, Markus Pargmann wrote:
> > Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
> > ---
> > 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 :-)
instead add:
default ALLYES
Michael
> > + 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 <mpa@pengutronix.de>
> > +#
> > +# 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
--
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
next prev parent reply other threads:[~2014-11-21 14:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-20 8:23 [ptxdist] [PATCH 1/7] cairo: Missing dependency XORG_LIB_XEXT Markus Pargmann
2014-11-20 8:23 ` [ptxdist] [PATCH 2/7] xorg-lib-Xi: Missing dependency LIB_XFIXES Markus Pargmann
2014-11-21 14:10 ` Michael Olbrich
2014-11-20 8:23 ` [ptxdist] [PATCH 3/7] json-c: Install missing pkgconfig link Markus Pargmann
2014-11-20 9:00 ` Alexander Dahl
2014-11-20 8:23 ` [ptxdist] [PATCH 4/7] libltdl: Version bump 1.5 -> 2.4.3 Markus Pargmann
2014-11-21 14:11 ` Michael Olbrich
2014-11-20 8:23 ` [ptxdist] [PATCH 5/7] libexif: Initial, version 0.6.21 Markus Pargmann
2014-11-21 14:08 ` Michael Olbrich
2014-11-20 8:23 ` [ptxdist] [PATCH 6/7] host-ninja: Ninja build tool Markus Pargmann
2014-11-21 14:01 ` Michael Olbrich
2014-11-21 14:09 ` Michael Olbrich [this message]
2014-11-20 8:23 ` [ptxdist] [PATCH 7/7] gtk2: Reintegrate gtk2 Markus Pargmann
2014-11-21 14:22 ` Michael Olbrich
2014-11-21 14:10 ` [ptxdist] [PATCH 1/7] cairo: Missing dependency XORG_LIB_XEXT Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141121140916.GK19664@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox