configure: do not create legacy symlinks
PATCH 1/1 configure: do not create legacy symlinks
With more than three years since Meson was introduced in the build system, people have had quite some time to move away from the foo-softmmu/qemu-system-* and foo-linux-user/qemu-* symbolic links. Remove them, and with them another instance of the "softmmu" name for system emulators.
--- configure | 10 ---------- 1 file changed, 10 deletions(-)
configure +0 -10
@@ -1605,21 +1605,11 @@ echo "GENISOIMAGE=$genisoimage" >> $config_host_mak echo "MESON=$meson" >> $config_host_mak echo "NINJA=$ninja" >> $config_host_mak echo "EXESUF=$EXESUF" >> $config_host_mak - # use included Linux headers for KVM architectures if test "$host_os" = "linux" && test -n "$linux_arch"; then symlink "$source_path/linux-headers/asm-$linux_arch" linux-headers/asm fi -for target in $target_list; do - target_dir="$target" - target_name=$(echo $target | cut -d '-' -f 1)$EXESUF - case $target in - *-user) symlink "../qemu-$target_name" "$target_dir/qemu-$target_name" ;; - *) symlink "../qemu-system-$target_name" "$target_dir/qemu-system-$target_name" ;; - esac -done - if test "$default_targets" = "yes"; then echo "CONFIG_DEFAULT_TARGETS=y" >> $config_host_mak fi
Signature · 1 line
2.43.0
Quoted 15 lines · Paolo Bonzini
With more than three years since Meson was introduced in the build system, people have had quite some time to move away from the foo-softmmu/qemu-system-* and foo-linux-user/qemu-* symbolic links. Remove them, and with them another instance of the "softmmu" name for system emulators.
Signed-off-by Paolo Bonzini <[email protected]>--- configure | 10 ---------- 1 file changed, 10 deletions(-)configure +0
-0
configure echo "GENISOIMAGE=$genisoimage" >> $config_host_mak · line 1608
Quoted 4 lines
configure +0
-1@@ -1605,21 +1605,11 @@ echo "GENISOIMAGE=$genisoimage" >> $config_host_mak echo "MESON=$meson" >> $config_host_mak echo "NINJA=$ninja" >> $config_host_mak echo "EXESUF=$EXESUF" >> $config_host_mak -
Maybe keep the empty line here?
Quoted 4 lines
configure +0
-0# use included Linux headers for KVM architectures if test "$host_os" = "linux" && test -n "$linux_arch"; then symlink "$source_path/linux-headers/asm-$linux_arch" linux-headers/asm fi
configure echo "GENISOIMAGE=$genisoimage" >> $config_host_mak · line 1622
Quoted 10 lines
configure +0
-9-for target in $target_list; do - target_dir="$target" - target_name=$(echo $target | cut -d '-' -f 1)$EXESUF - case $target in - *-user) symlink "../qemu-$target_name" "$target_dir/qemu-$target_name" ;; - *) symlink "../qemu-system-$target_name" "$target_dir/qemu-system-$target_name" ;; - esac -done -
Anyway,
Quoted 12 lines · Thomas Huth
Quoted 10 lines · Paolo Bonzini
With more than three years since Meson was introduced in the build system, people have had quite some time to move away from the foo-softmmu/qemu-system-* and foo-linux-user/qemu-* symbolic links. Remove them, and with them another instance of the "softmmu" name for system emulators.
Signed-off-by Paolo Bonzini <[email protected]>--- configure | 10 ---------- 1 file changed, 10 deletions(-)
Quoted 11 lines
configure echo "GENISOIMAGE=$genisoimage" >> $config_host_mak · line 1608
Quoted 9 lines
configure +0
-1@@ -1605,21 +1605,11 @@ echo "GENISOIMAGE=$genisoimage" >> $config_host_mak echo "MESON=$meson" >> $config_host_mak echo "NINJA=$ninja" >> $config_host_mak echo "EXESUF=$EXESUF" >> $config_host_mak -Maybe keep the empty line here?
Even better, the "if" can be moved with the other creation of symlinks from $source_path to the build tree.
Paolo
Quoted 19 lines
Quoted 4 lines
configure +0
-0# use included Linux headers for KVM architectures if test "$host_os" = "linux" && test -n "$linux_arch"; then symlink "$source_path/linux-headers/asm-$linux_arch" linux-headers/asm ficonfigure echo "GENISOIMAGE=$genisoimage" >> $config_host_mak · line 1622
Quoted 10 lines
configure +0
-9-for target in $target_list; do - target_dir="$target" - target_name=$(echo $target | cut -d '-' -f 1)$EXESUF - case $target in - *-user) symlink "../qemu-$target_name" "$target_dir/qemu-$target_name" ;; - *) symlink "../qemu-system-$target_name" "$target_dir/qemu-system-$target_name" ;; - esac -done -Anyway,
Reviewed-by Thomas Huth <[email protected]>