summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2024-11-20 13:56:02 +0100
committerŁukasz Stelmach <l.stelmach@samsung.com>2024-11-20 23:05:35 +0100
commit513cc7e74e7809f4feda06372a82202b88924086 (patch)
tree3fbe30a1a6c3be1bd64042256e6b7c595c2c7bdc
parentb4db5c6872b5a36f21093fdeaa4779ca9931b81f (diff)
downloadlinux-rpi-sandbox/lstelmach/perf-libtraceevent.tar.gz
linux-rpi-sandbox/lstelmach/perf-libtraceevent.tar.bz2
linux-rpi-sandbox/lstelmach/perf-libtraceevent.zip
tizen: Link perf against libtraceeventsandbox/lstelmach/perf-libtraceevent
Change-Id: Ibd32951930a6bfd2ecb09d381fff4c29baa819c6 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r--packaging/linux-rpi4.spec3
1 files changed, 2 insertions, 1 deletions
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