summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2020-03-23 06:33:37 -0700
committerMark Hatle <mark.hatle@xilinx.com>2020-03-23 07:52:53 -0700
commit9e8f6e05fa2228eb2962c1ea7962c047d3123e81 (patch)
treeab87d3ad2058a899c2a50f10db2abfb4874a6d2d
parentbaef83a3fc66653a3194d3aa131da574dc7a766a (diff)
downloadmeta-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>
-rw-r--r--meta-xilinx-bsp/recipes-devtools/qemu/qemu-xilinx.inc4
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
19PV = "${XILINX_QEMU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" 19PV = "${XILINX_QEMU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
20BRANCH ?= "" 20BRANCH ?= ""
21REPO ?= "git://github.com/Xilinx/qemu.git;protocol=https" 21REPO ?= "gitsm://github.com/Xilinx/qemu.git;protocol=https"
22 22
23BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" 23BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
24SRC_URI = "${REPO};${BRANCHARG}" 24SRC_URI = "${REPO};${BRANCHARG}"
@@ -35,6 +35,8 @@ DISABLE_STATIC_pn-${PN} = ""
35 35
36PTEST_ENABLED = "" 36PTEST_ENABLED = ""
37 37
38EXTRA_OECONF_append = " --with-git=/bin/false --disable-git-update"
39
38do_install_append() { 40do_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