make-release: do not ship dtc sources
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 Sep 2023 10:31:40 +0000 (12:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 29 Sep 2023 07:33:10 +0000 (09:33 +0200)
A new enough libfdt is included in all of Debian 11, Ubuntu 20.04
and MSYS2.  It has also been included for several minor releases
in Fedora and openSUSE Leap, as well as in CentOS.  Therefore
there is no need anymore to ship the sources together with the QEMU
tarballs.

Keep the wrap file so that it can be used with --enable-download,
but do not ship the sources anymore with either archive-source.sh
or make-release.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
scripts/archive-source.sh
scripts/make-release

index 5139db2ff7c8ee03b3c7f5cc2b2d7ba45a575b32..81430ce2348f0a0aa2029e6441342759cac1d49c 100644 (file)
@@ -3070,6 +3070,9 @@ if fdt_required.length() > 0 or fdt_opt == 'enabled'
   endif
 
   if fdt_opt in ['enabled', 'auto', 'system']
+    if get_option('wrap_mode') == 'nodownload'
+      fdt_opt = 'system'
+    endif
     fdt = cc.find_library('fdt', required: fdt_opt == 'system')
     if fdt.found() and cc.links('''
        #include <libfdt.h>
index 48996304910215d0debbc02c5451faa66d9d74f0..65af8063e4bddc89ea4bdf05716ebc9ed108e7fb 100755 (executable)
@@ -26,7 +26,7 @@ sub_file="${sub_tdir}/submodule.tar"
 # independent of what the developer currently has initialized
 # in their checkout, because the build environment is completely
 # different to the host OS.
-subprojects="dtc keycodemapdb libvfio-user berkeley-softfloat-3 berkeley-testfloat-3"
+subprojects="keycodemapdb libvfio-user berkeley-softfloat-3 berkeley-testfloat-3"
 sub_deinit=""
 
 function cleanup() {
index c5db87b3f91bae4a5e41c0e22f172d49aa7dc9dc..9c570b87f4a0e7041089ba7c5a4087e24f378e52 100755 (executable)
@@ -17,7 +17,7 @@ if [ $# -ne 2 ]; then
 fi
 
 # Only include wraps that are invoked with subproject()
-SUBPROJECTS="dtc libvfio-user keycodemapdb berkeley-softfloat-3 berkeley-testfloat-3"
+SUBPROJECTS="libvfio-user keycodemapdb berkeley-softfloat-3 berkeley-testfloat-3"
 
 src="$1"
 version="$2"