summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe/meson.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-12-13 16:14:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-17 23:49:56 +0000
commit6fcec10a9cf6129ebd74a638bfd883e6330cb10f (patch)
treef08dacad5aaf6652739a5116cc03faf10bc554af /meta/classes-recipe/meson.bbclass
parent882c3e58751d6fcc2ed14a3cff8f61ab2b8315c1 (diff)
downloadpoky-6fcec10a9cf6129ebd74a638bfd883e6330cb10f.tar.gz
meson: no need to rebuild on install
On install, Meson will rebuild targets which don't define their dependencies, as it can't know if they need to be rebuilt or not. This includes gtk-doc, which can be slow to run. As we control the execution of meson we know that a rebuild isn't required, so we can pass --no-rebuild and speed up the install task. (From OE-Core rev: da7e8bbb75bfb1a1c820b310196e510c05fc67c7) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe/meson.bbclass')
-rw-r--r--meta/classes-recipe/meson.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/meson.bbclass b/meta/classes-recipe/meson.bbclass
index 1014bd058e..3cc94c7584 100644
--- a/meta/classes-recipe/meson.bbclass
+++ b/meta/classes-recipe/meson.bbclass
@@ -173,7 +173,7 @@ meson_do_compile() {
173} 173}
174 174
175meson_do_install() { 175meson_do_install() {
176 meson install --destdir ${D} 176 meson install --destdir ${D} --no-rebuild
177} 177}
178 178
179EXPORT_FUNCTIONS do_configure do_compile do_install 179EXPORT_FUNCTIONS do_configure do_compile do_install