From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Jan 2025 11:35:01 +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 1tWCM0-000Khy-1r for lore@lore.pengutronix.de; Fri, 10 Jan 2025 11:35:01 +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 1tWCM1-0000MF-2m; Fri, 10 Jan 2025 11:35:01 +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 1tWCLl-0000M4-Pn for ptxdist@pengutronix.de; Fri, 10 Jan 2025 11:34:45 +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 1tWCLl-0008zK-1y for ptxdist@pengutronix.de; Fri, 10 Jan 2025 11:34:45 +0100 Received: from rhi by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1tWCLl-001une-1i for ptxdist@pengutronix.de; Fri, 10 Jan 2025 11:34:45 +0100 Date: Fri, 10 Jan 2025 11:34:45 +0100 From: Roland Hieber To: ptxdist@pengutronix.de Message-ID: <20250110103445.4m57fxrzbdtzyhtf@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=utf-8 Content-Disposition: inline In-Reply-To: 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 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 Fri, Jan 10, 2025 at 09:32:42AM +0100, Michael Olbrich wrote: > 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. The GPL-2.0 is only used in build scripts, so we can disregard that. I'll send a separate patch. - Roland -- 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 |