From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Jan 2025 08:45:22 +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 1tW9hp-000Hgp-1P for lore@lore.pengutronix.de; Fri, 10 Jan 2025 08:45:22 +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 1tW9hp-0006A0-SK; Fri, 10 Jan 2025 08:45:21 +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 1tW9hR-0005Oq-VT; Fri, 10 Jan 2025 08:44:57 +0100 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 1tW9hR-0007Yi-2W; Fri, 10 Jan 2025 08:44:57 +0100 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1tW9hR-001eDT-2N; Fri, 10 Jan 2025 08:44:57 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 10 Jan 2025 08:44:57 +0100 Message-Id: <20250110074457.392912-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241210105629.428090-2-l.stach@pengutronix.de> References: <20241210105629.428090-2-l.stach@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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: Lucas Stach 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 c5deb7c35e934544e8243c7f61b2173dd6e2b4bc. Michael [sent from post-receive hook] On Fri, 10 Jan 2025 08:44:57 +0100, Lucas Stach wrote: > Linux kernel trace filesystem library, which has been > split out from trace-cmd and kernelshark. > > Signed-off-by: Lucas Stach > Message-Id: <20241210105629.428090-2-l.stach@pengutronix.de> > Signed-off-by: Michael Olbrich > > 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 > + > +# ---------------------------------------------------------------------------- > +# 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