From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Alexander Dahl <ada@thorsis.com>
Subject: Re: [ptxdist] [APPLIED] libubootenv: Introduce new package
Date: Mon, 22 Sep 2025 13:04:24 +0200 [thread overview]
Message-ID: <20250922110424.2076744-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20250919100643.199174-2-ada@thorsis.com>
Thanks, applied as 50cde354492d493d649b38f5a5381ded59293482.
Michael
[sent from post-receive hook]
On Mon, 22 Sep 2025 13:04:24 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> Useful to replace target u-boot-tools.
> Dependency for a potential new swupdate package.
>
> Link: https://github.com/sbabic/libubootenv
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20250919100643.199174-2-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/libubootenv.in b/rules/libubootenv.in
> new file mode 100644
> index 000000000000..70f6d9863885
> --- /dev/null
> +++ b/rules/libubootenv.in
> @@ -0,0 +1,15 @@
> +## SECTION=system_libraries
> +
> +config LIBUBOOTENV
> + tristate
> + select HOST_CMAKE
> + select LIBYAML
> + select ZLIB
> + prompt "libubootenv"
> + help
> + Generic library and tools to access and modify U-Boot
> + environment from User Space.
> +
> + https://github.com/sbabic/libubootenv
> +
> +# vim: ft=kconfig noet tw=72 ts=8 sw=8
> diff --git a/rules/libubootenv.make b/rules/libubootenv.make
> new file mode 100644
> index 000000000000..d4e67815266b
> --- /dev/null
> +++ b/rules/libubootenv.make
> @@ -0,0 +1,58 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2025 by Alexander Dahl <ada@thorsis.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_LIBUBOOTENV) += libubootenv
> +
> +#
> +# Paths and names
> +#
> +LIBUBOOTENV_VERSION := 0.3.6
> +LIBUBOOTENV_MD5 := 7d6b623e8da435cf36e7fcd419a03e43
> +LIBUBOOTENV := libubootenv-$(LIBUBOOTENV_VERSION)
> +LIBUBOOTENV_SUFFIX := tar.gz
> +LIBUBOOTENV_URL := https://github.com/sbabic/libubootenv/archive/refs/tags/v$(LIBUBOOTENV_VERSION).$(LIBUBOOTENV_SUFFIX)
> +LIBUBOOTENV_SOURCE := $(SRCDIR)/$(LIBUBOOTENV).$(LIBUBOOTENV_SUFFIX)
> +LIBUBOOTENV_DIR := $(BUILDDIR)/$(LIBUBOOTENV)
> +LIBUBOOTENV_LICENSE := MIT AND CC0-1.0 AND LGPL-2.1-or-later
> +LIBUBOOTENV_LICENSE_FILES := \
> + file://LICENSES/MIT.txt;md5=838c366f69b72c5df05c96dff79b35f2 \
> + file://LICENSES/CC0-1.0.txt;md5=0ceb3372c9595f0a8067e55da801e4a1 \
> + file://LICENSES/LGPL-2.1-or-later.txt;md5=4fbd65380cdd255951079008b364516c
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +LIBUBOOTENV_CONF_TOOL := cmake
> +LIBUBOOTENV_CONF_OPT := \
> + $(CROSS_CMAKE_USR) \
> + -DBUILD_DOC=OFF
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/libubootenv.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, libubootenv)
> + @$(call install_fixup, libubootenv,PRIORITY,optional)
> + @$(call install_fixup, libubootenv,SECTION,base)
> + @$(call install_fixup, libubootenv,AUTHOR,"Alexander Dahl <ada@thorsis.com>")
> + @$(call install_fixup, libubootenv,DESCRIPTION,missing)
> +
> + @$(call install_lib, libubootenv, 0, 0, 0644, libubootenv)
> +
> + @$(call install_finish, libubootenv)
> +
> + @$(call touch)
> +
> +# vim: ft=make noet tw=72 ts=8 sw=8
next prev parent reply other threads:[~2025-09-22 11:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-19 10:06 [ptxdist] [PATCH v2 0/5] libubootenv: New package to replace target u-boot-tools Alexander Dahl via ptxdist
2025-09-19 10:06 ` [ptxdist] [PATCH v2 1/5] libubootenv: Introduce new package Alexander Dahl via ptxdist
2025-09-22 11:04 ` Michael Olbrich [this message]
2025-09-19 10:06 ` [ptxdist] [PATCH v2 2/5] libubootenv: Add option for installing tools Alexander Dahl via ptxdist
2025-09-22 11:04 ` [ptxdist] [APPLIED] " Michael Olbrich
2025-09-19 10:06 ` [ptxdist] [PATCH v2 3/5] libubootenv: Install config file to target Alexander Dahl via ptxdist
2025-09-22 11:04 ` [ptxdist] [APPLIED] " Michael Olbrich
2025-09-19 10:06 ` [ptxdist] [PATCH v2 4/5] libubootenv: Import some fixes from master Alexander Dahl via ptxdist
2025-09-22 11:04 ` [ptxdist] [APPLIED] " Michael Olbrich
2025-09-19 10:06 ` [ptxdist] [PATCH v2 5/5] libubootenv: Make yaml support optional Alexander Dahl via ptxdist
2025-09-22 11:04 ` [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=20250922110424.2076744-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=ada@thorsis.com \
--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