From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Jan 2025 09:32:48 +0100 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 1tWARj-000IZp-2U for lore@lore.pengutronix.de; Fri, 10 Jan 2025 09:32:48 +0100 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 1tWARk-0002zz-66; Fri, 10 Jan 2025 09:32:48 +0100 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 1tWARf-0002ze-0y; Fri, 10 Jan 2025 09:32:43 +0100 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) 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 1tWARe-0007wi-2j; Fri, 10 Jan 2025 09:32:42 +0100 Received: from mol by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1tWARe-001sQB-2T; Fri, 10 Jan 2025 09:32:42 +0100 Date: Fri, 10 Jan 2025 09:32:42 +0100 From: Michael Olbrich To: Roland Hieber Message-ID: Mail-Followup-To: Roland Hieber , ptxdist@pengutronix.de References: <20241210105629.428090-1-l.stach@pengutronix.de> <20241210105629.428090-2-l.stach@pengutronix.de> <20250108100952.vc3v4cjl56vgyyo4@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250108100952.vc3v4cjl56vgyyo4@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-IRC: #ptxdist @freenode Subject: Re: [ptxdist] [PATCH 2/3] libtracefs: 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: ptxdist@pengutronix.de 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 On Wed, Jan 08, 2025 at 11:09:52AM +0100, Roland Hieber wrote: > On Tue, Dec 10, 2024 at 11:56:28AM +0100, Lucas Stach wrote: > > Linux kernel trace filesystem library, which has been > > split out from trace-cmd and kernelshark. > > > > Signed-off-by: Lucas Stach > > --- > > rules/libtracefs.in | 9 +++++++ > > rules/libtracefs.make | 59 +++++++++++++++++++++++++++++++++++++++++++ > > 2 files changed, 68 insertions(+) > > create mode 100644 rules/libtracefs.in > > create mode 100644 rules/libtracefs.make > > > > diff --git a/rules/libtracefs.in b/rules/libtracefs.in > > new file mode 100644 > > index 000000000000..0f1793a5ee96 > > --- /dev/null > > +++ b/rules/libtracefs.in > > @@ -0,0 +1,9 @@ > > +## SECTION=system_libraries > > + > > +config LIBTRACEFS > > + tristate > > + select HOST_MESON > > + select LIBTRACEEVENT > > + prompt "libtracefs" > > + help > > + Linux kernel trace filesystem library > > diff --git a/rules/libtracefs.make b/rules/libtracefs.make > > new file mode 100644 > > index 000000000000..12f0c6e7972c > > --- /dev/null > > +++ b/rules/libtracefs.make > > @@ -0,0 +1,59 @@ > > +# -*-makefile-*- > > +# > > +# Copyright (C) 2024 by Lucas Stach > > +# > > +# For further information about the PTXdist project and license conditions > > +# see the README file. > > +# > > + > > +# > > +# We provide this package > > +# > > +PACKAGES-$(PTXCONF_LIBTRACEFS) += libtracefs > > + > > +# > > +# Paths and names > > +# > > +LIBTRACEFS_VERSION := 1.8.1 > > +LIBTRACEFS_MD5 := d16612bef28cb49e898558fe362496cc > > +LIBTRACEFS := libtracefs-$(LIBTRACEFS_VERSION) > > +LIBTRACEFS_SUFFIX := tar.xz > > +LIBTRACEFS_URL := https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git;tag=libtracefs-$(LIBTRACEFS_VERSION) > > +LIBTRACEFS_SOURCE := $(SRCDIR)/$(LIBTRACEFS).$(LIBTRACEFS_SUFFIX) > > +LIBTRACEFS_DIR := $(BUILDDIR)/$(LIBTRACEFS) > > +LIBTRACEFS_LICENSE := LGPL-2.1 + GPL-2.0 > > Correct SPDX syntax is AND instead of +. Also you need to choose between > -or-later and -only versions for both licenses. And fill > LIBTRACEFS_LICENSE_FILES. Right, I missed that when I applied the patch. The SPDX identifiers here are the old syntax, so "LGPL-2.1-only AND GPL-2.0-only" is correct. I'll fix it. Michael > - Roland > > > + > > +# ---------------------------------------------------------------------------- > > +# Prepare > > +# ---------------------------------------------------------------------------- > > + > > +# > > +# meson > > +# > > +LIBTRACEFS_CONF_TOOL := meson > > +LIBTRACEFS_CONF_OPT := \ > > + $(CROSS_MESON_USR) \ > > + -Ddoc=false \ > > + -Dsamples=false \ > > + -Dutest=false > > + > > +# ---------------------------------------------------------------------------- > > +# Target-Install > > +# ---------------------------------------------------------------------------- > > + > > +$(STATEDIR)/libtracefs.targetinstall: > > + @$(call targetinfo) > > + > > + @$(call install_init, libtracefs) > > + @$(call install_fixup, libtracefs,PRIORITY,optional) > > + @$(call install_fixup, libtracefs,SECTION,base) > > + @$(call install_fixup, libtracefs,AUTHOR,"Lucas Stach ") > > + @$(call install_fixup, libtracefs,DESCRIPTION,missing) > > + > > + @$(call install_lib, libtracefs, 0, 0, 0644, libtracefs) > > + > > + @$(call install_finish, libtracefs) > > + > > + @$(call touch) > > + > > +# vim: syntax=make > > -- > > 2.39.5 > > > > > > > > -- > Roland Hieber, Pengutronix e.K. | rhi@pengutronix.de | > Steuerwalder Str. 21 | https://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |