mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
perf: add libtraceevent packageconfig
With kernel 6.4-rc1 commit 6898e60f709b ("perf build: If libtraceevent
isn't present error the build") having libtraceevent is a required
dependency unless building it with 'NO_LIBTRACEEVENT=1'.
Older kernels did build libtraceevent as provided by the kernel sources.
(Unless LIBTRACEEVENT_DYNAMIC=1 was defined, then it tried to pickup
an external provided libtraceevent and printed a warning if not found.)
Add a libtraceevent packageconfig which adds the dependency on
libtraceevent if set, otherwise builds with NO_LIBTRACEEVENT=1.
For older kernels the old behaviour of building libtraceevent from
the kernel sources isn't changed.
(From OE-Core rev: 7e7a7394b47f6fd4a4dd26a18a5d94302ab6df1e)
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
03adf4b267
commit
fc899f1e1b
@@ -11,7 +11,7 @@ LICENSE = "GPL-2.0-only"
|
||||
|
||||
PR = "r9"
|
||||
|
||||
PACKAGECONFIG ??= "scripting tui libunwind"
|
||||
PACKAGECONFIG ??= "scripting tui libunwind libtraceevent"
|
||||
PACKAGECONFIG[dwarf] = ",NO_DWARF=1"
|
||||
PACKAGECONFIG[scripting] = ",NO_LIBPERL=1 NO_LIBPYTHON=1,perl python3 python3-setuptools-native"
|
||||
# gui support was added with kernel 3.6.35
|
||||
@@ -27,6 +27,7 @@ PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"
|
||||
PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"
|
||||
PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native"
|
||||
PACKAGECONFIG[cap] = ",,libcap"
|
||||
PACKAGECONFIG[libtraceevent] = ",NO_LIBTRACEEVENT=1,libtraceevent"
|
||||
# Arm CoreSight
|
||||
PACKAGECONFIG[coresight] = "CORESIGHT=1,,opencsd"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user