mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Subject: [ptxdist] [PATCH] host-system-python3-pycparser: new package
Date: Fri,  5 Jul 2024 16:54:10 +0200	[thread overview]
Message-ID: <20240705145410.3175309-1-p.zabel@pengutronix.de> (raw)

Enable packages that use host-system-python3 to make use of the
pycparser module as well.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/host-system-python3-pycparser.in   |  7 +++++++
 rules/host-system-python3-pycparser.make | 20 ++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 rules/host-system-python3-pycparser.in
 create mode 100644 rules/host-system-python3-pycparser.make

diff --git a/rules/host-system-python3-pycparser.in b/rules/host-system-python3-pycparser.in
new file mode 100644
index 000000000000..66a18c52b82d
--- /dev/null
+++ b/rules/host-system-python3-pycparser.in
@@ -0,0 +1,7 @@
+## SECTION=hosttools_noprompt
+
+config HOST_SYSTEM_PYTHON3_PYCPARSER
+	tristate
+	default y if ALLYES
+	select HOST_SYSTEM_PYTHON3
+	select HOST_SYSTEM_PYTHON3_SETUPTOOLS
diff --git a/rules/host-system-python3-pycparser.make b/rules/host-system-python3-pycparser.make
new file mode 100644
index 000000000000..1280d05023b3
--- /dev/null
+++ b/rules/host-system-python3-pycparser.make
@@ -0,0 +1,20 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Philipp Zabel <p.zabel@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_SYSTEM_PYTHON3_PYCPARSER) += host-system-python3-pycparser
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_SYSTEM_PYTHON3_PYCPARSER_CONF_TOOL	:= python3
+
+# vim: syntax=make
-- 
2.39.2




             reply	other threads:[~2024-07-05 14:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-05 14:54 Philipp Zabel [this message]
2024-07-12  8:05 ` [ptxdist] [APPLIED] " 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=20240705145410.3175309-1-p.zabel@pengutronix.de \
    --to=p.zabel@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