diff options
-rw-r--r-- | meta-oe/recipes-devtools/perfetto/perfetto.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-devtools/perfetto/perfetto.bb b/meta-oe/recipes-devtools/perfetto/perfetto.bb index a2a4c9f39e..d697485e69 100644 --- a/meta-oe/recipes-devtools/perfetto/perfetto.bb +++ b/meta-oe/recipes-devtools/perfetto/perfetto.bb | |||
@@ -49,7 +49,7 @@ SRC_URI[gn.sha256sum] = "f706aaa0676e3e22f5fc9ca482295d7caee8535d1869f99efa23581 | |||
49 | 49 | ||
50 | require perfetto.inc | 50 | require perfetto.inc |
51 | 51 | ||
52 | DEPENDS += " ninja-native" | 52 | DEPENDS += " ninja-native gn-native" |
53 | 53 | ||
54 | # Use clang in order to enable traced_perf ( see https://github.com/google/perfetto/blob/092d0ceace6fa516fac1bd4e715c226eaaebe26e/gn/perfetto.gni#L177 , | 54 | # Use clang in order to enable traced_perf ( see https://github.com/google/perfetto/blob/092d0ceace6fa516fac1bd4e715c226eaaebe26e/gn/perfetto.gni#L177 , |
55 | # enable_perfetto_traced_perf depends on "is_clang") | 55 | # enable_perfetto_traced_perf depends on "is_clang") |
@@ -73,8 +73,8 @@ do_configure () { | |||
73 | cd ${S} | 73 | cd ${S} |
74 | # Rename a few build tools if they have not been renamed | 74 | # Rename a few build tools if they have not been renamed |
75 | cd buildtools | 75 | cd buildtools |
76 | x="gn-linux64-1968-0725d782" | 76 | |
77 | [ -f $x ] && mkdir linux64 && mv $x linux64/gn | 77 | mkdir linux64 && cp ${RECIPE_SYSROOT_NATIVE}${bindir}/gn linux64/gn |
78 | chmod +x linux64/gn | 78 | chmod +x linux64/gn |
79 | cd .. | 79 | cd .. |
80 | 80 | ||