diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2019-12-05 23:47:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-09 12:00:43 +0000 |
commit | e68e623ef335b1123acda22dfb01447af78a2fd3 (patch) | |
tree | 9bd160c9a212113dcfcf38a0d4cc2bad39d8ecad | |
parent | 450cf4926ad7c39d42acd11c1e6dd07bf15d4b8c (diff) | |
download | poky-e68e623ef335b1123acda22dfb01447af78a2fd3.tar.gz |
meson.bbclass: Prevent meson from downloading wrapped projects
Meson has support for downloading subprojects using something called
wraps. This interferes with bitbake's expectations of all downloads
being done by the fetch task. To avoid this, tell meson to not
download any wraps.
Suggested-by: Mattias Jernberg <mattias.jernberg@axis.com>
(From OE-Core rev: b547637ad84bad8f7fe27193bf636541f8588ae8)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/meson.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index efa6234078..dc8c28963c 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass | |||
@@ -24,7 +24,8 @@ MESONOPTS = " --prefix ${prefix} \ | |||
24 | --infodir ${@noprefix('infodir', d)} \ | 24 | --infodir ${@noprefix('infodir', d)} \ |
25 | --sysconfdir ${sysconfdir} \ | 25 | --sysconfdir ${sysconfdir} \ |
26 | --localstatedir ${localstatedir} \ | 26 | --localstatedir ${localstatedir} \ |
27 | --sharedstatedir ${sharedstatedir} " | 27 | --sharedstatedir ${sharedstatedir} \ |
28 | --wrap-mode nodownload" | ||
28 | 29 | ||
29 | EXTRA_OEMESON_append = " ${PACKAGECONFIG_CONFARGS}" | 30 | EXTRA_OEMESON_append = " ${PACKAGECONFIG_CONFARGS}" |
30 | 31 | ||