diff options
| author | Markus Volk <f_l_k@t-online.de> | 2022-10-19 01:19:35 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-10-18 16:25:44 -0700 |
| commit | a067e1ba9469c6ab509c72b903d1fdca86a71a89 (patch) | |
| tree | 3ae294dc482bd0558b8bb7f02655041018636db9 /meta-oe/recipes-devtools/perfetto/perfetto.inc | |
| parent | 3eaf01fcd4fef7f37d75e2fc5b42be88186b3cbf (diff) | |
| download | meta-openembedded-a067e1ba9469c6ab509c72b903d1fdca86a71a89.tar.gz | |
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>
Diffstat (limited to 'meta-oe/recipes-devtools/perfetto/perfetto.inc')
| -rw-r--r-- | meta-oe/recipes-devtools/perfetto/perfetto.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto.inc b/meta-oe/recipes-devtools/perfetto/perfetto.inc new file mode 100644 index 0000000000..5cb6f8bb34 --- /dev/null +++ b/meta-oe/recipes-devtools/perfetto/perfetto.inc | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | SUMMARY = "Perfetto - System profiling, app tracing and trace analysis." | ||
| 2 | HOMEPAGE = "https://github.com/google/perfetto" | ||
| 3 | |||
| 4 | SRC_URI = "git://github.com/google/perfetto.git;protocol=https;name=perfetto;nobranch=1" | ||
| 5 | |||
| 6 | SRCREV_perfetto = "1c52b5e132312aeb007ed180d4ba1d8d66227923" | ||
| 7 | PV = "27.1" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/git" | ||
