mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-system-python3-pycparser: new package
@ 2024-07-05 14:54 Philipp Zabel
  2024-07-12  8:05 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2024-07-05 14:54 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] host-system-python3-pycparser: new package
  2024-07-05 14:54 [ptxdist] [PATCH] host-system-python3-pycparser: new package Philipp Zabel
@ 2024-07-12  8:05 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2024-07-12  8:05 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

Thanks, applied as 7aac72827456020fa817d05a72a27e4a86cea5ce.

Michael

[sent from post-receive hook]

On Fri, 12 Jul 2024 10:05:35 +0200, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> 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>
> Message-Id: <20240705145410.3175309-1-p.zabel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-12  8:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-05 14:54 [ptxdist] [PATCH] host-system-python3-pycparser: new package Philipp Zabel
2024-07-12  8:05 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox