Files
meta-openembedded/meta-oe/recipes-devtools/perfetto/libperfetto.bb
T
Markus Volk a067e1ba94 perfetto: build libperfetto
- 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>
2022-10-18 16:25:44 -07:00

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"