Skip to content

Commit 32f8f83

Browse files
committed
configure: put all symlink creation together
Cc: Thomas Huth <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
1 parent 6f73814 commit 32f8f83

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

configure

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,6 +1538,11 @@ for f in $LINKS ; do
15381538
fi
15391539
done
15401540

1541+
# use included Linux headers for KVM architectures
1542+
if test "$host_os" = "linux" && test -n "$linux_arch"; then
1543+
symlink "$source_path/linux-headers/asm-$linux_arch" linux-headers/asm
1544+
fi
1545+
15411546
echo "# Automatically generated by configure - do not modify" > Makefile.prereqs
15421547

15431548
# Mac OS X ships with a broken assembler
@@ -1605,11 +1610,6 @@ echo "GENISOIMAGE=$genisoimage" >> $config_host_mak
16051610
echo "MESON=$meson" >> $config_host_mak
16061611
echo "NINJA=$ninja" >> $config_host_mak
16071612
echo "EXESUF=$EXESUF" >> $config_host_mak
1608-
# use included Linux headers for KVM architectures
1609-
if test "$host_os" = "linux" && test -n "$linux_arch"; then
1610-
symlink "$source_path/linux-headers/asm-$linux_arch" linux-headers/asm
1611-
fi
1612-
16131613
if test "$default_targets" = "yes"; then
16141614
echo "CONFIG_DEFAULT_TARGETS=y" >> $config_host_mak
16151615
fi

0 commit comments

Comments
 (0)