From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 22 Sep 2025 13:04:49 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v0eLh-005vdK-03 for lore@lore.pengutronix.de; Mon, 22 Sep 2025 13:04:49 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1v0eLf-0008FD-I2; Mon, 22 Sep 2025 13:04:47 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1v0eLI-0007Hy-P4; Mon, 22 Sep 2025 13:04:24 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1v0eLI-002aBb-1f; Mon, 22 Sep 2025 13:04:24 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1v0eLI-00000008iG6-1u9V; Mon, 22 Sep 2025 13:04:24 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 22 Sep 2025 13:04:24 +0200 Message-ID: <20250922110424.2076744-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20250919100643.199174-2-ada@thorsis.com> References: <20250919100643.199174-2-ada@thorsis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] libubootenv: Introduce new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Alexander Dahl Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 50cde354492d493d649b38f5a5381ded59293482. Michael [sent from post-receive hook] On Mon, 22 Sep 2025 13:04:24 +0200, Alexander Dahl 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 > Message-Id: <20250919100643.199174-2-ada@thorsis.com> > Signed-off-by: Michael Olbrich > > 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 > +# > +# 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 ") > + @$(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