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>
This commit is contained in:
Ross Burton
2022-12-13 16:14:07 +00:00
committed by Richard Purdie
parent 882c3e5875
commit 6fcec10a9c

View File

@@ -173,7 +173,7 @@ meson_do_compile() {
}
meson_do_install() {
meson install --destdir ${D}
meson install --destdir ${D} --no-rebuild
}
EXPORT_FUNCTIONS do_configure do_compile do_install