mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
a067e1ba94
- Mesa has support for perfetto, but the libperfetto library is needed - Only v27 seems to be supported for now. Update perfetto accordingly - Make sure perfetto and libperfetto share the same codebase - Patch meson.build to allow shared build - Add a version number to avoid having a non symlink so file packaged into dev package - Create a PC file for libperfetto to allow mesa to find it using pkgconfig - Install needed header file - Add -latomic to LDFLAGS for some arch where the compiler doesn't provide it Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 lines
330 B
BlitzBasic
15 lines
330 B
BlitzBasic
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=f87516e0b698007e9e75a1fe1012b390"
|
|
|
|
require perfetto.inc
|
|
|
|
inherit meson
|
|
|
|
SRC_URI:append = " file://0001-meson-add-pc-file-for-lib_perfetto.patch"
|
|
|
|
LDFLAGS += "-Wl,--as-needed -latomic -Wl,--no-as-needed"
|
|
|
|
FILES:${PN} += "${datadir}"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|