mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Markus Niebel <niebelm@tqsc.de>
To: ptxdist@pengutronix.de
Cc: m.olbrich@pengutronix.de, Markus Niebel <Markus.Niebel@tq-group.com>
Subject: [ptxdist]  [PATCH v2 1/5] host-system-python: add check for mako
Date: Thu,  9 Mar 2017 12:45:44 +0100	[thread overview]
Message-ID: <1489059948-19114-2-git-send-email-niebelm@tqsc.de> (raw)
In-Reply-To: <1489059948-19114-1-git-send-email-niebelm@tqsc.de>

From: Markus Niebel <Markus.Niebel@tq-group.com>

needed for mesa 17 and newer

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
---
 rules/host-system-python.in   | 3 +++
 rules/host-system-python.make | 6 ++++++
 2 files changed, 9 insertions(+)

diff --git a/rules/host-system-python.in b/rules/host-system-python.in
index 300b078..61fdbc6 100644
--- a/rules/host-system-python.in
+++ b/rules/host-system-python.in
@@ -14,4 +14,7 @@ config HOST_SYSTEM_PYTHON_ARGPARSE
 config HOST_SYSTEM_PYTHON_BZ2
 	bool
 
+config HOST_SYSTEM_PYTHON_MAKO
+	bool
+
 endif
diff --git a/rules/host-system-python.make b/rules/host-system-python.make
index 31b29b9..a521176 100644
--- a/rules/host-system-python.make
+++ b/rules/host-system-python.make
@@ -41,6 +41,12 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON_BZ2
 		ptxd_bailout "Python bz2 module not found! \
 	Please install python-bz2";
 endif
+ifdef PTXCONF_HOST_SYSTEM_PYTHON_MAKO
+	@echo "Checking for Python Mako ..."
+	@python -c 'import mako' 2>/dev/null || \
+		ptxd_bailout "Python mako module not found! \
+	Please install python-mako (debian)";
+endif
 	@echo
 	@$(call touch)
 
-- 
1.9.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2017-03-09 11:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-09 11:45 [ptxdist] [PATCH v2 0/5] update drm / mesa support and add testtools Markus Niebel
2017-03-09 11:45 ` Markus Niebel [this message]
2017-03-09 11:45 ` [ptxdist] [PATCH v2 2/5] mesalib: version bump 13.0.2 -> 17.0.1 Markus Niebel
2017-03-09 11:45 ` [ptxdist] [PATCH v2 3/5] libdrm: version bump 2.7.74 -> 2.7.75 Markus Niebel
2017-03-09 16:36   ` Michael Olbrich
2017-03-09 11:45 ` [ptxdist] [PATCH v2 4/5] kmscube: add new package Markus Niebel
2017-03-09 15:47   ` Michael Olbrich
2017-03-09 16:08   ` Michael Olbrich
2017-03-09 11:45 ` [ptxdist] [PATCH v2 5/5] glmark2: " Markus Niebel
2017-03-09 16:07   ` Michael Olbrich
2017-03-10  9:44 ` [ptxdist] [PATCH v2 0/5] update drm / mesa support and add testtools 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=1489059948-19114-2-git-send-email-niebelm@tqsc.de \
    --to=niebelm@tqsc.de \
    --cc=Markus.Niebel@tq-group.com \
    --cc=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