From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 08 Jan 2025 11:10:07 +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 1tVT0o-000h4D-2U for lore@lore.pengutronix.de; Wed, 08 Jan 2025 11:10:07 +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 1tVT0o-000065-TU; Wed, 08 Jan 2025 11:10:06 +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 1tVT0a-00005v-Aa for ptxdist@pengutronix.de; Wed, 08 Jan 2025 11:09:52 +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 1tVT0Z-007UlF-1C for ptxdist@pengutronix.de; Wed, 08 Jan 2025 11:09:52 +0100 Received: from rhi by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1tVT0a-00BSaf-0C for ptxdist@pengutronix.de; Wed, 08 Jan 2025 11:09:52 +0100 Date: Wed, 8 Jan 2025 11:09:52 +0100 From: Roland Hieber To: ptxdist@pengutronix.de Message-ID: <20250108100952.vc3v4cjl56vgyyo4@pengutronix.de> References: <20241210105629.428090-1-l.stach@pengutronix.de> <20241210105629.428090-2-l.stach@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20241210105629.428090-2-l.stach@pengutronix.de> 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 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. - 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 |