Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1 1/2] package/libyaml: add host package
@ 2022-09-04 19:02 Christian Stewart via buildroot
  2022-09-04 19:02 ` [Buildroot] [PATCH v1 2/2] package/python-pyyaml: " Christian Stewart via buildroot
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Christian Stewart via buildroot @ 2022-09-04 19:02 UTC (permalink / raw)
  To: buildroot; +Cc: Christian Stewart, Yann E . MORIN, Thomas Petazzoni

Add a Config.in.host to enable the host-libyaml package.

Signed-off-by: Christian Stewart <christian@paral.in>
---
 package/Config.in.host         | 1 +
 package/libyaml/Config.in.host | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 100644 package/libyaml/Config.in.host

diff --git a/package/Config.in.host b/package/Config.in.host
index 99edeafece..66b64fd7c6 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -47,6 +47,7 @@ menu "Host utilities"
 	source "package/jsmin/Config.in.host"
 	source "package/kmod/Config.in.host"
 	source "package/libp11/Config.in.host"
+	source "package/libyaml/Config.in.host"
 	source "package/lld/Config.in.host"
 	source "package/lpc3250loader/Config.in.host"
 	source "package/lttng-babeltrace/Config.in.host"
diff --git a/package/libyaml/Config.in.host b/package/libyaml/Config.in.host
new file mode 100644
index 0000000000..fd47362a91
--- /dev/null
+++ b/package/libyaml/Config.in.host
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_HOST_LIBYAML
+	bool "host libyaml"
+	help
+	  LibYAML is a YAML 1.1 parser and emitter written in C.
+	  Host package.
+
+	  http://pyyaml.org/wiki/LibYAML
\ No newline at end of file
-- 
2.37.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v1 2/2] package/python-pyyaml: add host package
  2022-09-04 19:02 [Buildroot] [PATCH v1 1/2] package/libyaml: add host package Christian Stewart via buildroot
@ 2022-09-04 19:02 ` Christian Stewart via buildroot
  2022-09-05  7:05 ` [Buildroot] [PATCH v1 1/2] package/libyaml: " Thomas Petazzoni via buildroot
  2022-09-06  8:42 ` Yann E. MORIN
  2 siblings, 0 replies; 6+ messages in thread
From: Christian Stewart via buildroot @ 2022-09-04 19:02 UTC (permalink / raw)
  To: buildroot; +Cc: Christian Stewart, Yann E . MORIN, Thomas Petazzoni

Add the Config.in.host for the host python-pyyaml package.

Signed-off-by: Christian Stewart <christian@paral.in>
---
 package/Config.in.host               | 1 +
 package/python-pyyaml/Config.in.host | 7 +++++++
 2 files changed, 8 insertions(+)
 create mode 100644 package/python-pyyaml/Config.in.host

diff --git a/package/Config.in.host b/package/Config.in.host
index 66b64fd7c6..bc6e470313 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -76,6 +76,7 @@ menu "Host utilities"
 	source "package/python-greenlet/Config.in.host"
 	source "package/python-kflash/Config.in.host"
 	source "package/python-lxml/Config.in.host"
+	source "package/python-pyyaml/Config.in.host"
 	source "package/python-six/Config.in.host"
 	source "package/python-xlrd/Config.in.host"
 	source "package/python3/Config.in.host"
diff --git a/package/python-pyyaml/Config.in.host b/package/python-pyyaml/Config.in.host
new file mode 100644
index 0000000000..f50697d857
--- /dev/null
+++ b/package/python-pyyaml/Config.in.host
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_HOST_PYTHON_PYYAML
+	bool "host python-pyyaml"
+	select BR2_PACKAGE_HOST_LIBYAML
+	help
+	  The host PyYAML package contains binding to the libyaml API.
+
+	  http://pyyaml.org/
-- 
2.37.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v1 1/2] package/libyaml: add host package
  2022-09-04 19:02 [Buildroot] [PATCH v1 1/2] package/libyaml: add host package Christian Stewart via buildroot
  2022-09-04 19:02 ` [Buildroot] [PATCH v1 2/2] package/python-pyyaml: " Christian Stewart via buildroot
@ 2022-09-05  7:05 ` Thomas Petazzoni via buildroot
  2022-09-05  7:07   ` Christian Stewart via buildroot
  2022-09-06  8:42 ` Yann E. MORIN
  2 siblings, 1 reply; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-09-05  7:05 UTC (permalink / raw)
  To: Christian Stewart; +Cc: Yann E . MORIN, buildroot

On Sun,  4 Sep 2022 12:02:17 -0700
Christian Stewart <christian@paral.in> wrote:

> Add a Config.in.host to enable the host-libyaml package.
> 
> Signed-off-by: Christian Stewart <christian@paral.in>

Why? What is the motivation for enabling host-libyaml through
menuconfig?

Note: having a visible host-python-pyyaml package as you're doing in
PATCH 2/2 does *not* require having a visible host-libyaml option.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v1 1/2] package/libyaml: add host package
  2022-09-05  7:05 ` [Buildroot] [PATCH v1 1/2] package/libyaml: " Thomas Petazzoni via buildroot
@ 2022-09-05  7:07   ` Christian Stewart via buildroot
  2022-09-05  7:16     ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 6+ messages in thread
From: Christian Stewart via buildroot @ 2022-09-05  7:07 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: Christian Stewart, Yann E . MORIN, Buildroot Mailing List

Hi Thomas,

On Mon, Sep 5, 2022 at 12:05 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
> On Sun,  4 Sep 2022 12:02:17 -0700
> Christian Stewart <christian@paral.in> wrote:
>
> > Add a Config.in.host to enable the host-libyaml package.
> >
> > Signed-off-by: Christian Stewart <christian@paral.in>
>
> Why? What is the motivation for enabling host-libyaml through
> menuconfig?

The Jetson AGX Orin flash.sh requires libyaml and enabling it as a
host package in the Buildroot config is the way to add it to the host
dir during the build.

Thanks,
Christian
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v1 1/2] package/libyaml: add host package
  2022-09-05  7:07   ` Christian Stewart via buildroot
@ 2022-09-05  7:16     ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 6+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-09-05  7:16 UTC (permalink / raw)
  To: Christian Stewart; +Cc: Yann E . MORIN, Buildroot Mailing List

On Mon, 5 Sep 2022 00:07:48 -0700
Christian Stewart <christian@paral.in> wrote:

> The Jetson AGX Orin flash.sh requires libyaml and enabling it as a
> host package in the Buildroot config is the way to add it to the host
> dir during the build.

It requires libyaml, or a tool provided by libyaml?

This should be explained in your commit log :-)

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v1 1/2] package/libyaml: add host package
  2022-09-04 19:02 [Buildroot] [PATCH v1 1/2] package/libyaml: add host package Christian Stewart via buildroot
  2022-09-04 19:02 ` [Buildroot] [PATCH v1 2/2] package/python-pyyaml: " Christian Stewart via buildroot
  2022-09-05  7:05 ` [Buildroot] [PATCH v1 1/2] package/libyaml: " Thomas Petazzoni via buildroot
@ 2022-09-06  8:42 ` Yann E. MORIN
  2 siblings, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2022-09-06  8:42 UTC (permalink / raw)
  To: Christian Stewart; +Cc: Thomas Petazzoni, buildroot

Christian, All,

On 2022-09-04 12:02 -0700, Christian Stewart via buildroot spake thusly:
> Add a Config.in.host to enable the host-libyaml package.
> 
> Signed-off-by: Christian Stewart <christian@paral.in>

Following the comment by Thomas, I've marked this two-patch series as
changes-requested in Patchwork.

Regards,
Yann E. MORIN.

> ---
>  package/Config.in.host         | 1 +
>  package/libyaml/Config.in.host | 7 +++++++
>  2 files changed, 8 insertions(+)
>  create mode 100644 package/libyaml/Config.in.host
> 
> diff --git a/package/Config.in.host b/package/Config.in.host
> index 99edeafece..66b64fd7c6 100644
> --- a/package/Config.in.host
> +++ b/package/Config.in.host
> @@ -47,6 +47,7 @@ menu "Host utilities"
>  	source "package/jsmin/Config.in.host"
>  	source "package/kmod/Config.in.host"
>  	source "package/libp11/Config.in.host"
> +	source "package/libyaml/Config.in.host"
>  	source "package/lld/Config.in.host"
>  	source "package/lpc3250loader/Config.in.host"
>  	source "package/lttng-babeltrace/Config.in.host"
> diff --git a/package/libyaml/Config.in.host b/package/libyaml/Config.in.host
> new file mode 100644
> index 0000000000..fd47362a91
> --- /dev/null
> +++ b/package/libyaml/Config.in.host
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_HOST_LIBYAML
> +	bool "host libyaml"
> +	help
> +	  LibYAML is a YAML 1.1 parser and emitter written in C.
> +	  Host package.
> +
> +	  http://pyyaml.org/wiki/LibYAML
> \ No newline at end of file
> -- 
> 2.37.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-09-06  8:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-04 19:02 [Buildroot] [PATCH v1 1/2] package/libyaml: add host package Christian Stewart via buildroot
2022-09-04 19:02 ` [Buildroot] [PATCH v1 2/2] package/python-pyyaml: " Christian Stewart via buildroot
2022-09-05  7:05 ` [Buildroot] [PATCH v1 1/2] package/libyaml: " Thomas Petazzoni via buildroot
2022-09-05  7:07   ` Christian Stewart via buildroot
2022-09-05  7:16     ` Thomas Petazzoni via buildroot
2022-09-06  8:42 ` Yann E. MORIN

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