summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@kernel.crashing.org>2020-03-24 11:50:43 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-24 22:59:41 +0000
commit53b38a89fc7ccbceefd1a3a79bd376d9f6419565 (patch)
tree1ac507a9ea01e4206b1c4d04ac229c1d1232aece
parentcd46e8f890069a40d1e9048cfa0f378dec1dc5e9 (diff)
downloadopenembedded-core-contrib-53b38a89fc7ccbceefd1a3a79bd376d9f6419565.tar.gz
qemu.inc: Always disable compile time git updating
If the SRC_URI is switched to be git based, QEMU will automatically update itself at compile time for select git submodules. This by passes the bitbake git fetcher. These modules are always present in the release tarballs, so only are problematic when used with git based SRC_URIs. These switches will have no effect on a tarball based SRC_URI. Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index f62220a51d..972767615d 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -83,6 +83,8 @@ EXTRA_OECONF = " \
--disable-strip \
--disable-werror \
--extra-cflags='${CFLAGS}' \
+ --with-git=/bin/false \
+ --disable-git-update \
${PACKAGECONFIG_CONFARGS} \
"