aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/archive-source.sh22
-rwxr-xr-xscripts/make-release2
2 files changed, 2 insertions, 22 deletions
diff --git a/scripts/archive-source.sh b/scripts/archive-source.sh
index b99cb66..4899630 100755
--- a/scripts/archive-source.sh
+++ b/scripts/archive-source.sh
@@ -26,8 +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"
-submodules="tests/fp/berkeley-softfloat-3 tests/fp/berkeley-testfloat-3"
+subprojects="dtc keycodemapdb libvfio-user berkeley-softfloat-3 berkeley-testfloat-3"
sub_deinit=""
function cleanup() {
@@ -51,25 +50,6 @@ function tree_ish() {
git archive --format tar "$(tree_ish)" > "$tar_file"
test $? -ne 0 && error "failed to archive qemu"
-for sm in $submodules; do
- status="$(git submodule status "$sm")"
- smhash="${status#[ +-]}"
- smhash="${smhash%% *}"
- case "$status" in
- -*)
- sub_deinit="$sub_deinit $sm"
- git submodule update --init "$sm"
- test $? -ne 0 && error "failed to update submodule $sm"
- ;;
- +*)
- echo "WARNING: submodule $sm is out of sync"
- ;;
- esac
- (cd $sm; git archive --format tar --prefix "$sm/" $(tree_ish)) > "$sub_file"
- test $? -ne 0 && error "failed to archive submodule $sm ($smhash)"
- tar --concatenate --file "$tar_file" "$sub_file"
- test $? -ne 0 && error "failed append submodule $sm to $tar_file"
-done
for sp in $subprojects; do
meson subprojects download $sp
diff --git a/scripts/make-release b/scripts/make-release
index 0604e61..c5db87b 100755
--- a/scripts/make-release
+++ b/scripts/make-release
@@ -17,7 +17,7 @@ if [ $# -ne 2 ]; then
fi
# Only include wraps that are invoked with subproject()
-SUBPROJECTS="dtc libvfio-user keycodemapdb"
+SUBPROJECTS="dtc libvfio-user keycodemapdb berkeley-softfloat-3 berkeley-testfloat-3"
src="$1"
version="$2"