diff options
author | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-23 06:33:37 -0700 |
---|---|---|
committer | Mark Hatle <mark.hatle@xilinx.com> | 2020-03-23 07:52:53 -0700 |
commit | 9e8f6e05fa2228eb2962c1ea7962c047d3123e81 (patch) | |
tree | ab87d3ad2058a899c2a50f10db2abfb4874a6d2d /meta-xilinx-bsp/recipes-devtools | |
parent | baef83a3fc66653a3194d3aa131da574dc7a766a (diff) | |
download | meta-xilinx-9e8f6e05fa2228eb2962c1ea7962c047d3123e81.tar.gz |
qemu-xilinx.inc: Move the URL to 'gitsm' and disable compile time submodules
QEMU has the built in ability to download necessary submodules at compile
time. Disable this and change the URL to 'gitsm' so all submodules are
downloaded during the fetch step.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-devtools')
-rw-r--r-- | meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc index 4eb4ba06..79e03fdf 100644 --- a/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc +++ b/meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc | |||
@@ -18,7 +18,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | |||
18 | 18 | ||
19 | PV = "${XILINX_QEMU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" | 19 | PV = "${XILINX_QEMU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" |
20 | BRANCH ?= "" | 20 | BRANCH ?= "" |
21 | REPO ?= "git://github.com/Xilinx/qemu.git;protocol=https" | 21 | REPO ?= "gitsm://github.com/Xilinx/qemu.git;protocol=https" |
22 | 22 | ||
23 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | 23 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
24 | SRC_URI = "${REPO};${BRANCHARG}" | 24 | SRC_URI = "${REPO};${BRANCHARG}" |
@@ -35,6 +35,8 @@ DISABLE_STATIC_pn-${PN} = "" | |||
35 | 35 | ||
36 | PTEST_ENABLED = "" | 36 | PTEST_ENABLED = "" |
37 | 37 | ||
38 | EXTRA_OECONF_append = " --with-git=/bin/false --disable-git-update" | ||
39 | |||
38 | do_install_append() { | 40 | do_install_append() { |
39 | # Prevent QA warnings about installed ${localstatedir}/run | 41 | # Prevent QA warnings about installed ${localstatedir}/run |
40 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi | 42 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi |