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 <[email protected]> > > > --- > > > 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 <[email protected]> > > > +# > > > +# 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. | [email protected] | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
