From 513cc7e74e7809f4feda06372a82202b88924086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Stelmach?= Date: Wed, 20 Nov 2024 13:56:02 +0100 Subject: tizen: Link perf against libtraceevent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ibd32951930a6bfd2ecb09d381fff4c29baa819c6 Signed-off-by: Ɓukasz Stelmach --- packaging/linux-rpi4.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packaging/linux-rpi4.spec b/packaging/linux-rpi4.spec index 2449d3cb1c84..006e1fe52e3f 100644 --- a/packaging/linux-rpi4.spec +++ b/packaging/linux-rpi4.spec @@ -38,6 +38,7 @@ BuildRequires: xz-devel BuildRequires: binutils-devel BuildRequires: python3 BuildRequires: rsync +BuildRequires: pkgconfig(libtraceevent) %description The Linux Kernel, the operating system core itself @@ -203,7 +204,7 @@ for target in %{variant} %{variant}-rt; do %endif # Build and install perf - WERROR=0 make O=build/${target} -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" %{?_smp_mflags} DESTDIR=%{buildroot}/usr install NO_LIBTRACEEVENT=1 NO_JEVENTS=1 + WERROR=0 make O=build/${target} -s -C tools/perf EXTRA_CFLAGS="-fPIE -rdynamic" %{?_smp_mflags} DESTDIR=%{buildroot}/usr install NO_JEVENTS=1 rm -rf %{buildroot}/usr/etc rm -rf %{buildroot}/usr/lib/debug rm -rf %{buildroot}/usr/lib/perf -- cgit v1.2.3