[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 09/16] configure: remove DIRS
From: |
Paolo Bonzini |
Subject: |
[PULL 09/16] configure: remove DIRS |
Date: |
Sun, 19 Dec 2021 15:17:04 +0100 |
DIRS is used to create the directory in which the LINKS symbolic links
reside, or to create directories for object files. The former can
be done directly in the symlinking loop, while the latter is done
by Meson already, so DIRS is not necessary.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/configure b/configure
index ba85bbb54b..8ccfe51673 100755
--- a/configure
+++ b/configure
@@ -3762,7 +3762,6 @@ if test "$safe_stack" = "yes"; then
fi
# If we're using a separate build tree, set it up now.
-# DIRS are directories which we simply mkdir in the build tree;
# LINKS are things to symlink back into the source tree
# (these can be both files and directories).
# Caution: do not add files or directories here using wildcards. This
@@ -3774,12 +3773,6 @@ fi
# UNLINK is used to remove symlinks from older development versions
# that might get into the way when doing "git update" without doing
# a "make distclean" in between.
-DIRS="tests tests/tcg tests/qapi-schema tests/qtest/libqos"
-DIRS="$DIRS tests/qtest tests/qemu-iotests tests/vm tests/fp tests/qgraph"
-DIRS="$DIRS docs docs/interop fsdev scsi"
-DIRS="$DIRS pc-bios/optionrom pc-bios/s390-ccw"
-DIRS="$DIRS roms/seabios"
-DIRS="$DIRS contrib/plugins/"
LINKS="Makefile"
LINKS="$LINKS tests/tcg/Makefile.target"
LINKS="$LINKS pc-bios/optionrom/Makefile"
@@ -3807,9 +3800,9 @@ for bios_file in \
do
LINKS="$LINKS pc-bios/$(basename $bios_file)"
done
-mkdir -p $DIRS
for f in $LINKS ; do
if [ -e "$source_path/$f" ]; then
+ mkdir -p `dirname ./$f`
symlink "$source_path/$f" "$f"
fi
done
--
2.33.1
- [PULL 03/16] configure: unify two case statements on $cpu, (continued)
- [PULL 03/16] configure: unify two case statements on $cpu, Paolo Bonzini, 2021/12/19
- [PULL 04/16] configure: unify ppc64 and ppc64le, Paolo Bonzini, 2021/12/19
- [PULL 02/16] configure: move target detection before CPU detection, Paolo Bonzini, 2021/12/19
- [PULL 05/16] configure: unify x86_64 and x32, Paolo Bonzini, 2021/12/19
- [PULL 06/16] meson: rename "arch" variable, Paolo Bonzini, 2021/12/19
- [PULL 07/16] configure, meson: move ARCH to meson.build, Paolo Bonzini, 2021/12/19
- [PULL 08/16] configure: remove unnecessary symlinks, Paolo Bonzini, 2021/12/19
- [PULL 10/16] meson: reenable test-fdmon-epoll, Paolo Bonzini, 2021/12/19
- [PULL 11/16] cpu: remove unnecessary #ifdef CONFIG_TCG, Paolo Bonzini, 2021/12/19
- [PULL 09/16] configure: remove DIRS,
Paolo Bonzini <=
- [PULL 12/16] meson: add "check" argument to run_command, Paolo Bonzini, 2021/12/19
- [PULL 13/16] hw/scsi: Fix scsi_bus_init_named() docstring, Paolo Bonzini, 2021/12/19
- [PULL 14/16] hw/scsi/megasas: Fails command if SGL buffer overflows, Paolo Bonzini, 2021/12/19
- [PULL 15/16] tests/qtest/fuzz-megasas-test: Add test for GitLab issue #521, Paolo Bonzini, 2021/12/19
- [PULL 16/16] hw/i386/vmmouse: Require 'i8042' property to be set, Paolo Bonzini, 2021/12/19
- Re: [PULL 00/16] Misc patches for 2021-12-20, Richard Henderson, 2021/12/19