~ubuntu-branches/ubuntu/trusty/qemu/trusty

« back to all changes in this revision

Viewing changes to .pc/02_kfreebsd.patch/configure

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2013-10-22 22:47:07 UTC
  • mfrom: (1.8.3) (10.1.42 sid)
  • Revision ID: package-import@ubuntu.com-20131022224707-1lya34fw3k3f24tv
Tags: 1.6.0+dfsg-2ubuntu1
* Merge 1.6.0~rc0+dfsg-2exp from debian experimental.  Remaining changes:
  - debian/control
    * update maintainer
    * remove libiscsi, usb-redir, vde, vnc-jpeg, and libssh2-1-dev
      from build-deps
    * enable rbd
    * add qemu-system and qemu-common B/R to qemu-keymaps
    * add D:udev, R:qemu, R:qemu-common and B:qemu-common to
      qemu-system-common
    * qemu-system-arm, qemu-system-ppc, qemu-system-sparc:
      - add qemu-kvm to Provides
      - add qemu-common, qemu-kvm, kvm to B/R
      - remove openbios-sparc from qemu-system-sparc D
      - drop openbios-ppc and openhackware Depends to Suggests (for now)
    * qemu-system-x86:
      - add qemu-common to Breaks/Replaces.
      - add cpu-checker to Recommends.
    * qemu-user: add B/R:qemu-kvm
    * qemu-kvm:
      - add armhf armel powerpc sparc to Architecture
      - C/R/P: qemu-kvm-spice
    * add qemu-common package
    * drop qemu-slof which is not packaged in ubuntu
  - add qemu-system-common.links for tap ifup/down scripts and OVMF link.
  - qemu-system-x86.links:
    * remove pxe rom links which are in kvm-ipxe
    * add symlink for kvm.1 manpage
  - debian/rules
    * add kvm-spice symlink to qemu-kvm
    * call dh_installmodules for qemu-system-x86
    * update dh_installinit to install upstart script
    * run dh_installman (Closes: #709241) (cherrypicked from 1.5.0+dfsg-2)
  - Add qemu-utils.links for kvm-* symlinks.
  - Add qemu-system-x86.qemu-kvm.upstart and .default
  - Add qemu-system-x86.modprobe to set nesting=1
  - Add qemu-system-common.preinst to add kvm group
  - qemu-system-common.postinst: remove bad group acl if there, then have
    udev relabel /dev/kvm.
  - New linaro patches from qemu-linaro rebasing branch
  - Dropped patches:
    * xen-simplify-xen_enabled.patch
    * sparc-linux-user-fix-missing-symbols-in-.rel-.rela.plt-sections.patch
    * main_loop-do-not-set-nonblocking-if-xen_enabled.patch
    * xen_machine_pv-do-not-create-a-dummy-CPU-in-machine-.patch
    * virtio-rng-fix-crash
  - Kept patches:
    * expose_vms_qemu64cpu.patch - updated
    * linaro arm patches from qemu-linaro rebasing branch
  - New patches:
    * fix-pci-add: change CONFIG variable in ifdef to make sure that
      pci_add is defined.
* Add linaro patches
* Add experimental mach-virt patches for arm virtualization.
* qemu-system-common.install: add debian/tmp/usr/lib to install the
  qemu-bridge-helper

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
static="no"
124
124
cross_prefix=""
125
125
audio_drv_list=""
126
 
block_drv_whitelist=""
 
126
block_drv_rw_whitelist=""
 
127
block_drv_ro_whitelist=""
127
128
host_cc="cc"
128
129
libs_softmmu=""
129
130
libs_tools=""
154
155
curses=""
155
156
docs=""
156
157
fdt=""
157
 
nptl=""
158
158
pixman=""
159
159
sdl=""
160
160
virtfs=""
179
179
vhost_net="no"
180
180
vhost_scsi="no"
181
181
kvm="no"
 
182
rdma=""
182
183
gprof="no"
183
184
debug_tcg="no"
184
185
debug="no"
230
231
usb_redir=""
231
232
glx=""
232
233
zlib="yes"
233
 
guest_agent="yes"
 
234
guest_agent=""
234
235
want_tools="yes"
235
236
libiscsi=""
236
237
coroutine=""
 
238
coroutine_pool=""
237
239
seccomp=""
238
240
glusterfs=""
 
241
glusterfs_discard="no"
239
242
virtio_blk_data_plane=""
240
243
gtk=""
241
244
gtkabi="2.0"
385
388
  fi
386
389
elif check_define __arm__ ; then
387
390
  cpu="arm"
 
391
elif check_define __aarch64__ ; then
 
392
  cpu="aarch64"
388
393
elif check_define __hppa__ ; then
389
394
  cpu="hppa"
390
395
else
407
412
  armv*b|armv*l|arm)
408
413
    cpu="arm"
409
414
  ;;
 
415
  aarch64)
 
416
    cpu="aarch64"
 
417
  ;;
410
418
  hppa|parisc|parisc64)
411
419
    cpu="hppa"
412
420
  ;;
468
476
OpenBSD)
469
477
  bsd="yes"
470
478
  make="${MAKE-gmake}"
471
 
  audio_drv_list="oss"
472
 
  audio_possible_drivers="oss sdl esd"
473
 
  oss_lib="-lossaudio"
 
479
  audio_drv_list="sdl"
 
480
  audio_possible_drivers="sdl esd"
474
481
;;
475
482
Darwin)
476
483
  bsd="yes"
547
554
  if [ "$cpu" = "i386" -o "$cpu" = "x86_64" ] ; then
548
555
    audio_possible_drivers="$audio_possible_drivers fmod"
549
556
  fi
550
 
  QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers $QEMU_INCLUDES"
 
557
  QEMU_INCLUDES="-I\$(SRC_PATH)/linux-headers -I$(pwd)/linux-headers $QEMU_INCLUDES"
551
558
;;
552
559
esac
553
560
 
554
561
if [ "$bsd" = "yes" ] ; then
555
562
  if [ "$darwin" != "yes" ] ; then
556
 
    usb="bsd"
 
563
    if [ "$targetos" != "FreeBSD" ]; then
 
564
      usb="bsd"
 
565
    fi
557
566
    bsd_user="yes"
558
567
  fi
559
568
fi
588
597
  qemu_docdir="\${prefix}"
589
598
  bindir="\${prefix}"
590
599
  sysconfdir="\${prefix}"
591
 
  local_statedir="\${prefix}"
 
600
  local_statedir=
592
601
  confsuffix=""
593
602
  libs_qga="-lws2_32 -lwinmm -lpowrprof $libs_qga"
594
603
fi
709
718
  ;;
710
719
  --audio-drv-list=*) audio_drv_list="$optarg"
711
720
  ;;
712
 
  --block-drv-whitelist=*) block_drv_whitelist=`echo "$optarg" | sed -e 's/,/ /g'`
 
721
  --block-drv-rw-whitelist=*|--block-drv-whitelist=*) block_drv_rw_whitelist=`echo "$optarg" | sed -e 's/,/ /g'`
 
722
  ;;
 
723
  --block-drv-ro-whitelist=*) block_drv_ro_whitelist=`echo "$optarg" | sed -e 's/,/ /g'`
713
724
  ;;
714
725
  --enable-debug-tcg) debug_tcg="yes"
715
726
  ;;
845
856
  ;;
846
857
  --enable-fdt) fdt="yes"
847
858
  ;;
848
 
  --disable-nptl) nptl="no"
849
 
  ;;
850
 
  --enable-nptl) nptl="yes"
851
 
  ;;
852
859
  --enable-mixemu) mixemu="yes"
853
860
  ;;
854
861
  --disable-linux-aio) linux_aio="no"
865
872
  ;;
866
873
  --with-coroutine=*) coroutine="$optarg"
867
874
  ;;
 
875
  --disable-coroutine-pool) coroutine_pool="no"
 
876
  ;;
 
877
  --enable-coroutine-pool) coroutine_pool="yes"
 
878
  ;;
868
879
  --disable-docs) docs="no"
869
880
  ;;
870
881
  --enable-docs) docs="yes"
927
938
  ;;
928
939
  --enable-gtk) gtk="yes"
929
940
  ;;
 
941
  --enable-rdma) rdma="yes"
 
942
  ;;
 
943
  --disable-rdma) rdma="no"
 
944
  ;;
930
945
  --with-gtkabi=*) gtkabi="$optarg"
931
946
  ;;
932
947
  --enable-tpm) tpm="yes"
975
990
 
976
991
default_target_list=""
977
992
 
978
 
# these targets are portable
979
 
if [ "$softmmu" = "yes" ] ; then
980
 
    default_target_list="\
981
 
i386-softmmu \
982
 
x86_64-softmmu \
983
 
alpha-softmmu \
984
 
arm-softmmu \
985
 
cris-softmmu \
986
 
lm32-softmmu \
987
 
m68k-softmmu \
988
 
microblaze-softmmu \
989
 
microblazeel-softmmu \
990
 
mips-softmmu \
991
 
mipsel-softmmu \
992
 
mips64-softmmu \
993
 
mips64el-softmmu \
994
 
moxie-softmmu \
995
 
or32-softmmu \
996
 
ppc-softmmu \
997
 
ppcemb-softmmu \
998
 
ppc64-softmmu \
999
 
sh4-softmmu \
1000
 
sh4eb-softmmu \
1001
 
sparc-softmmu \
1002
 
sparc64-softmmu \
1003
 
s390x-softmmu \
1004
 
xtensa-softmmu \
1005
 
xtensaeb-softmmu \
1006
 
unicore32-softmmu \
1007
 
"
1008
 
fi
1009
 
# the following are Linux specific
1010
 
if [ "$linux_user" = "yes" ] ; then
1011
 
    default_target_list="${default_target_list}\
1012
 
i386-linux-user \
1013
 
x86_64-linux-user \
1014
 
alpha-linux-user \
1015
 
arm-linux-user \
1016
 
armeb-linux-user \
1017
 
cris-linux-user \
1018
 
m68k-linux-user \
1019
 
microblaze-linux-user \
1020
 
microblazeel-linux-user \
1021
 
mips-linux-user \
1022
 
mipsel-linux-user \
1023
 
mips64-linux-user \
1024
 
mips64el-linux-user \
1025
 
mipsn32-linux-user \
1026
 
mipsn32el-linux-user \
1027
 
or32-linux-user \
1028
 
ppc-linux-user \
1029
 
ppc64-linux-user \
1030
 
ppc64abi32-linux-user \
1031
 
sh4-linux-user \
1032
 
sh4eb-linux-user \
1033
 
sparc-linux-user \
1034
 
sparc64-linux-user \
1035
 
sparc32plus-linux-user \
1036
 
unicore32-linux-user \
1037
 
s390x-linux-user \
1038
 
"
1039
 
fi
1040
 
# the following are BSD specific
1041
 
if [ "$bsd_user" = "yes" ] ; then
1042
 
    default_target_list="${default_target_list}\
1043
 
i386-bsd-user \
1044
 
x86_64-bsd-user \
1045
 
sparc-bsd-user \
1046
 
sparc64-bsd-user \
1047
 
"
1048
 
fi
 
993
mak_wilds=""
 
994
 
 
995
if [ "$softmmu" = "yes" ]; then
 
996
    mak_wilds="${mak_wilds} $source_path/default-configs/*-softmmu.mak"
 
997
fi
 
998
if [ "$linux_user" = "yes" ]; then
 
999
    mak_wilds="${mak_wilds} $source_path/default-configs/*-linux-user.mak"
 
1000
fi
 
1001
if [ "$bsd_user" = "yes" ]; then
 
1002
    mak_wilds="${mak_wilds} $source_path/default-configs/*-bsd-user.mak"
 
1003
fi
 
1004
 
 
1005
for config in $mak_wilds; do
 
1006
    default_target_list="${default_target_list} $(basename "$config" .mak)"
 
1007
done
1049
1008
 
1050
1009
if test x"$show_help" = x"yes" ; then
1051
1010
cat << EOF
1083
1042
echo "  --bindir=PATH            install binaries in PATH"
1084
1043
echo "  --libdir=PATH            install libraries in PATH"
1085
1044
echo "  --sysconfdir=PATH        install config in PATH$confsuffix"
1086
 
echo "  --localstatedir=PATH     install local state in PATH"
 
1045
echo "  --localstatedir=PATH     install local state in PATH (set at runtime on win32)"
1087
1046
echo "  --with-confsuffix=SUFFIX suffix for QEMU data inside datadir and sysconfdir [$confsuffix]"
1088
1047
echo "  --enable-debug-tcg       enable TCG debugging"
1089
1048
echo "  --disable-debug-tcg      disable TCG debugging (default)"
1106
1065
echo "  --enable-cocoa           enable Cocoa (default on Mac OS X)"
1107
1066
echo "  --audio-drv-list=LIST    set audio drivers list:"
1108
1067
echo "                           Available drivers: $audio_possible_drivers"
1109
 
echo "  --block-drv-whitelist=L  set block driver whitelist"
 
1068
echo "  --block-drv-whitelist=L  Same as --block-drv-rw-whitelist=L"
 
1069
echo "  --block-drv-rw-whitelist=L"
 
1070
echo "                           set block driver read-write whitelist"
 
1071
echo "                           (affects only QEMU, not qemu-img)"
 
1072
echo "  --block-drv-ro-whitelist=L"
 
1073
echo "                           set block driver read-only whitelist"
1110
1074
echo "                           (affects only QEMU, not qemu-img)"
1111
1075
echo "  --enable-mixemu          enable mixer emulation"
1112
1076
echo "  --disable-xen            disable xen backend driver support"
1136
1100
echo "  --disable-slirp          disable SLIRP userspace network connectivity"
1137
1101
echo "  --disable-kvm            disable KVM acceleration support"
1138
1102
echo "  --enable-kvm             enable KVM acceleration support"
 
1103
echo "  --disable-rdma           disable RDMA-based migration support"
 
1104
echo "  --enable-rdma            enable RDMA-based migration support"
1139
1105
echo "  --enable-tcg-interpreter enable TCG with bytecode interpreter (TCI)"
1140
 
echo "  --disable-nptl           disable usermode NPTL support"
1141
 
echo "  --enable-nptl            enable usermode NPTL support"
1142
1106
echo "  --enable-system          enable all system emulation targets"
1143
1107
echo "  --disable-system         disable all system emulation targets"
1144
1108
echo "  --enable-user            enable supported user emulation targets"
1193
1157
echo "  --enable-seccomp         enables seccomp support"
1194
1158
echo "  --with-coroutine=BACKEND coroutine backend. Supported options:"
1195
1159
echo "                           gthread, ucontext, sigaltstack, windows"
 
1160
echo "  --disable-coroutine-pool disable coroutine freelist (worse performance)"
 
1161
echo "  --enable-coroutine-pool  enable coroutine freelist (better performance)"
1196
1162
echo "  --enable-glusterfs       enable GlusterFS backend"
1197
1163
echo "  --disable-glusterfs      disable GlusterFS backend"
1198
1164
echo "  --enable-gcov            enable test coverage analysis with gcov"
1400
1366
else
1401
1367
    target_list=`echo "$target_list" | sed -e 's/,/ /g'`
1402
1368
fi
 
1369
 
 
1370
# Check that we recognised the target name; this allows a more
 
1371
# friendly error message than if we let it fall through.
 
1372
for target in $target_list; do
 
1373
    case " $default_target_list " in
 
1374
        *" $target "*)
 
1375
            ;;
 
1376
        *)
 
1377
            error_exit "Unknown target name '$target'"
 
1378
            ;;
 
1379
    esac
 
1380
done
 
1381
 
1403
1382
# see if system emulation was really requested
1404
1383
case " $target_list " in
1405
1384
  *"-softmmu "*) softmmu=yes
1460
1439
##########################################
1461
1440
# NPTL probe
1462
1441
 
1463
 
if test "$nptl" != "no" ; then
 
1442
if test "$linux_user" = "yes"; then
1464
1443
  cat > $TMPC <<EOF
1465
1444
#include <sched.h>
1466
1445
#include <linux/futex.h>
1471
1450
  return 0;
1472
1451
}
1473
1452
EOF
1474
 
 
1475
 
  if compile_object ; then
1476
 
    nptl=yes
1477
 
  else
1478
 
    if test "$nptl" = "yes" ; then
1479
 
      feature_not_found "nptl"
1480
 
    fi
1481
 
    nptl=no
 
1453
  if ! compile_object ; then
 
1454
    feature_not_found "nptl"
1482
1455
  fi
1483
1456
fi
1484
1457
 
1503
1476
# libseccomp check
1504
1477
 
1505
1478
if test "$seccomp" != "no" ; then
1506
 
    if $pkg_config --atleast-version=1.0.0 libseccomp --modversion >/dev/null 2>&1; then
 
1479
    if $pkg_config --atleast-version=2.1.0 libseccomp --modversion >/dev/null 2>&1; then
1507
1480
        libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
1508
1481
        QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`"
1509
1482
        seccomp="yes"
1726
1699
      vtepackage="vte"
1727
1700
      vteversion="0.24.0"
1728
1701
    fi
1729
 
    if $pkg_config --exists "$gtkpackage >= $gtkversion" && \
1730
 
       $pkg_config --exists "$vtepackage >= $vteversion"; then
 
1702
    if ! $pkg_config --exists "$gtkpackage >= $gtkversion"; then
 
1703
        if test "$gtk" = "yes" ; then
 
1704
            feature_not_found "gtk"
 
1705
        fi
 
1706
        gtk="no"
 
1707
    elif ! $pkg_config --exists "$vtepackage >= $vteversion"; then
 
1708
        if test "$gtk" = "yes" ; then
 
1709
            error_exit "libvte not found (required for gtk support)"
 
1710
        fi
 
1711
        gtk="no"
 
1712
    else
1731
1713
        gtk_cflags=`$pkg_config --cflags $gtkpackage 2>/dev/null`
1732
1714
        gtk_libs=`$pkg_config --libs $gtkpackage 2>/dev/null`
1733
1715
        vte_cflags=`$pkg_config --cflags $vtepackage 2>/dev/null`
1734
1716
        vte_libs=`$pkg_config --libs $vtepackage 2>/dev/null`
1735
1717
        libs_softmmu="$gtk_libs $vte_libs $libs_softmmu"
1736
1718
        gtk="yes"
1737
 
    else
1738
 
        if test "$gtk" = "yes" ; then
1739
 
            feature_not_found "gtk"
1740
 
        fi
1741
 
        gtk="no"
1742
1719
    fi
1743
1720
fi
1744
1721
 
1826
1803
fi
1827
1804
 
1828
1805
##########################################
 
1806
# RDMA needs OpenFabrics libraries
 
1807
if test "$rdma" != "no" ; then
 
1808
  cat > $TMPC <<EOF
 
1809
#include <rdma/rdma_cma.h>
 
1810
int main(void) { return 0; }
 
1811
EOF
 
1812
  rdma_libs="-lrdmacm -libverbs"
 
1813
  if compile_prog "" "$rdma_libs" ; then
 
1814
    rdma="yes"
 
1815
    libs_softmmu="$libs_softmmu $rdma_libs"
 
1816
  else
 
1817
    if test "$rdma" = "yes" ; then
 
1818
        error_exit \
 
1819
            " OpenFabrics librdmacm/libibverbs not present." \
 
1820
            " Your options:" \
 
1821
            "  (1) Fast: Install infiniband packages from your distro." \
 
1822
            "  (2) Cleanest: Install libraries from www.openfabrics.org" \
 
1823
            "  (3) Also: Install softiwarp if you don't have RDMA hardware"
 
1824
    fi
 
1825
    rdma="no"
 
1826
  fi
 
1827
fi
 
1828
 
 
1829
##########################################
1829
1830
# VNC TLS/WS detection
1830
1831
if test "$vnc" = "yes" -a \( "$vnc_tls" != "no" -o "$vnc_ws" != "no" \) ; then
1831
1832
  cat > $TMPC <<EOF
2154
2155
 
2155
2156
##########################################
2156
2157
# curses probe
2157
 
if test "$mingw32" = "yes" ; then
 
2158
if test "$curses" != "no" ; then
 
2159
  if test "$mingw32" = "yes" ; then
2158
2160
    curses_list="-lpdcurses"
2159
 
else
2160
 
    curses_list="-lncurses:-lcurses:$($pkg_config --libs ncurses 2>/dev/null)"
2161
 
fi
2162
 
 
2163
 
if test "$curses" != "no" ; then
 
2161
  else
 
2162
    curses_list="$($pkg_config --libs ncurses 2>/dev/null):-lncurses:-lcurses"
 
2163
  fi
2164
2164
  curses_found=no
2165
2165
  cat > $TMPC << EOF
2166
2166
#include <curses.h>
2192
2192
 
2193
2193
##########################################
2194
2194
# curl probe
2195
 
 
2196
 
if $pkg_config libcurl --modversion >/dev/null 2>&1; then
2197
 
  curlconfig="$pkg_config libcurl"
2198
 
else
2199
 
  curlconfig=curl-config
2200
 
fi
2201
 
 
2202
2195
if test "$curl" != "no" ; then
 
2196
  if $pkg_config libcurl --modversion >/dev/null 2>&1; then
 
2197
    curlconfig="$pkg_config libcurl"
 
2198
  else
 
2199
    curlconfig=curl-config
 
2200
  fi
2203
2201
  cat > $TMPC << EOF
2204
2202
#include <curl/curl.h>
2205
2203
int main(void) { curl_easy_init(); curl_multi_setopt(0, 0, 0); return 0; }
2518
2516
 
2519
2517
##########################################
2520
2518
# fdt probe
 
2519
# fdt support is mandatory for at least some target architectures,
 
2520
# so insist on it if we're building those system emulators.
 
2521
fdt_required=no
 
2522
for target in $target_list; do
 
2523
  case $target in
 
2524
    arm*-softmmu|ppc*-softmmu|microblaze*-softmmu)
 
2525
      fdt_required=yes
 
2526
    ;;
 
2527
  esac
 
2528
done
 
2529
 
 
2530
if test "$fdt_required" = "yes"; then
 
2531
  if test "$fdt" = "no"; then
 
2532
    error_exit "fdt disabled but some requested targets require it." \
 
2533
      "You can turn off fdt only if you also disable all the system emulation" \
 
2534
      "targets which need it (by specifying a cut down --target-list)."
 
2535
  fi
 
2536
  fdt=yes
 
2537
fi
 
2538
 
2521
2539
if test "$fdt" != "no" ; then
2522
2540
  fdt_libs="-lfdt"
 
2541
  # explicitly check for libfdt_env.h as it is missing in some stable installs
2523
2542
  cat > $TMPC << EOF
 
2543
#include <libfdt_env.h>
2524
2544
int main(void) { return 0; }
2525
2545
EOF
2526
2546
  if compile_prog "" "$fdt_libs" ; then
2539
2559
    fdt_libs="-L\$(BUILD_DIR)/dtc/libfdt $fdt_libs"
2540
2560
  elif test "$fdt" = "yes" ; then
2541
2561
    # have neither and want - prompt for system/submodule install
2542
 
    error_exit "ERROR: DTC not present. Your options:" \
 
2562
    error_exit "DTC not present. Your options:" \
2543
2563
        "  (1) Preferred: Install the DTC devel package" \
2544
2564
        "  (2) Fetch the DTC submodule, using:" \
2545
2565
        "      git submodule update --init dtc"
2576
2596
##########################################
2577
2597
# glusterfs probe
2578
2598
if test "$glusterfs" != "no" ; then
2579
 
  cat > $TMPC <<EOF
2580
 
#include <glusterfs/api/glfs.h>
2581
 
int main(void) {
2582
 
    (void) glfs_new("volume");
2583
 
    return 0;
2584
 
}
2585
 
EOF
2586
 
  glusterfs_libs="-lgfapi -lgfrpc -lgfxdr"
2587
 
  if compile_prog "" "$glusterfs_libs" ; then
2588
 
    glusterfs=yes
 
2599
  if $pkg_config --atleast-version=3 glusterfs-api >/dev/null 2>&1; then
 
2600
    glusterfs="yes"
 
2601
    glusterfs_cflags=`$pkg_config --cflags glusterfs-api 2>/dev/null`
 
2602
    glusterfs_libs=`$pkg_config --libs glusterfs-api 2>/dev/null`
 
2603
    CFLAGS="$CFLAGS $glusterfs_cflags"
2589
2604
    libs_tools="$glusterfs_libs $libs_tools"
2590
2605
    libs_softmmu="$glusterfs_libs $libs_softmmu"
 
2606
    if $pkg_config --atleast-version=5 glusterfs-api >/dev/null 2>&1; then
 
2607
      glusterfs_discard="yes"
 
2608
    fi
2591
2609
  else
2592
2610
    if test "$glusterfs" = "yes" ; then
2593
2611
      feature_not_found "GlusterFS backend support"
2594
2612
    fi
2595
 
    glusterfs=no
 
2613
    glusterfs="no"
2596
2614
  fi
2597
2615
fi
2598
2616
 
2599
 
#
2600
 
# Check for xxxat() functions when we are building linux-user
2601
 
# emulator.  This is done because older glibc versions don't
2602
 
# have syscall stubs for these implemented.
2603
 
#
2604
 
atfile=no
2605
 
cat > $TMPC << EOF
2606
 
#define _ATFILE_SOURCE
2607
 
#include <sys/types.h>
2608
 
#include <fcntl.h>
2609
 
#include <unistd.h>
2610
 
 
2611
 
int
2612
 
main(void)
2613
 
{
2614
 
        /* try to unlink nonexisting file */
2615
 
        return (unlinkat(AT_FDCWD, "nonexistent_file", 0));
2616
 
}
2617
 
EOF
2618
 
if compile_prog "" "" ; then
2619
 
  atfile=yes
2620
 
fi
2621
 
 
2622
2617
# Check for inotify functions when we are building linux-user
2623
2618
# emulator.  This is done because older glibc versions don't
2624
2619
# have syscall stubs for these implemented.  In that case we
3252
3247
  esac
3253
3248
fi
3254
3249
 
 
3250
if test "$coroutine_pool" = ""; then
 
3251
  if test "$coroutine" = "gthread"; then
 
3252
    coroutine_pool=no
 
3253
  else
 
3254
    coroutine_pool=yes
 
3255
  fi
 
3256
fi
 
3257
if test "$coroutine" = "gthread" -a "$coroutine_pool" = "yes"; then
 
3258
  error_exit "'gthread' coroutine backend does not support pool (use --disable-coroutine-pool)"
 
3259
fi
 
3260
 
3255
3261
##########################################
3256
3262
# check if we have open_by_handle_at
3257
3263
 
3362
3368
int main (void) {
3363
3369
  a = a + b;
3364
3370
  b = a * b;
 
3371
  a = a * a;
3365
3372
  return 0;
3366
3373
}
3367
3374
EOF
3455
3462
      virtfs=no
3456
3463
    fi
3457
3464
  fi
 
3465
fi
 
3466
if [ "$guest_agent" != "no" ]; then
3458
3467
  if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
3459
 
    if [ "$guest_agent" = "yes" ]; then
3460
3468
      tools="qemu-ga\$(EXESUF) $tools"
3461
 
    fi
 
3469
      guest_agent=yes
 
3470
  elif [ "$guest_agent" != yes ]; then
 
3471
      guest_agent=no
 
3472
  else
 
3473
      error_exit "Guest agent is not supported on this platform"
3462
3474
  fi
3463
3475
fi
3464
3476
 
3477
3489
  roms="$roms s390-ccw"
3478
3490
fi
3479
3491
 
 
3492
# Probe for the need for relocating the user-only binary.
 
3493
if test "$pie" = "no" ; then
 
3494
  textseg_addr=
 
3495
  case "$cpu" in
 
3496
    arm | hppa | i386 | m68k | ppc | ppc64 | s390* | sparc | sparc64 | x86_64)
 
3497
      textseg_addr=0x60000000
 
3498
      ;;
 
3499
    mips)
 
3500
      textseg_addr=0x400000
 
3501
      ;;
 
3502
  esac
 
3503
  if [ -n "$textseg_addr" ]; then
 
3504
    cat > $TMPC <<EOF
 
3505
    int main(void) { return 0; }
 
3506
EOF
 
3507
    textseg_ldflags="-Wl,-Ttext-segment=$textseg_addr"
 
3508
    if ! compile_prog "" "$textseg_ldflags"; then
 
3509
      # In case ld does not support -Ttext-segment, edit the default linker
 
3510
      # script via sed to set the .text start addr.  This is needed on FreeBSD
 
3511
      # at least.
 
3512
      $ld --verbose | sed \
 
3513
        -e '1,/==================================================/d' \
 
3514
        -e '/==================================================/,$d' \
 
3515
        -e "s/[.] = [0-9a-fx]* [+] SIZEOF_HEADERS/. = $textseg_addr + SIZEOF_HEADERS/" \
 
3516
        -e "s/__executable_start = [0-9a-fx]*/__executable_start = $textseg_addr/" > config-host.ld
 
3517
      textseg_ldflags="-Wl,-T../config-host.ld"
 
3518
    fi
 
3519
  fi
 
3520
fi
 
3521
 
3480
3522
# add pixman flags after all config tests are done
3481
3523
QEMU_CFLAGS="$QEMU_CFLAGS $pixman_cflags $fdt_cflags"
3482
3524
libs_softmmu="$libs_softmmu $pixman_libs"
3488
3530
echo "libexec directory `eval echo $libexecdir`"
3489
3531
echo "include directory `eval echo $includedir`"
3490
3532
echo "config directory  `eval echo $sysconfdir`"
 
3533
if test "$mingw32" = "no" ; then
3491
3534
echo "local state directory   `eval echo $local_statedir`"
3492
 
if test "$mingw32" = "no" ; then
3493
3535
echo "Manual directory  `eval echo $mandir`"
3494
3536
echo "ELF interp prefix $interp_prefix"
 
3537
else
 
3538
echo "local state directory   queried at runtime"
3495
3539
fi
3496
3540
echo "Source path       $source_path"
3497
3541
echo "C compiler        $cc"
3526
3570
echo "curl support      $curl"
3527
3571
echo "mingw32 support   $mingw32"
3528
3572
echo "Audio drivers     $audio_drv_list"
3529
 
echo "Block whitelist   $block_drv_whitelist"
 
3573
echo "Block whitelist (rw) $block_drv_rw_whitelist"
 
3574
echo "Block whitelist (ro) $block_drv_ro_whitelist"
3530
3575
echo "Mixer emulation   $mixemu"
3531
3576
echo "VirtFS support    $virtfs"
3532
3577
echo "VNC support       $vnc"
3546
3591
echo "Documentation     $docs"
3547
3592
[ ! -z "$uname_release" ] && \
3548
3593
echo "uname -r          $uname_release"
3549
 
echo "NPTL support      $nptl"
3550
3594
echo "GUEST_BASE        $guest_base"
3551
3595
echo "PIE               $pie"
3552
3596
echo "vde support       $vde"
3554
3598
echo "ATTR/XATTR support $attr"
3555
3599
echo "Install blobs     $blobs"
3556
3600
echo "KVM support       $kvm"
 
3601
echo "RDMA support      $rdma"
3557
3602
echo "TCG interpreter   $tcg_interpreter"
3558
3603
echo "fdt support       $fdt"
3559
3604
echo "preadv support    $preadv"
3578
3623
echo "build guest agent $guest_agent"
3579
3624
echo "seccomp support   $seccomp"
3580
3625
echo "coroutine backend $coroutine"
 
3626
echo "coroutine pool    $coroutine_pool"
3581
3627
echo "GlusterFS support $glusterfs"
3582
3628
echo "virtio-blk-data-plane $virtio_blk_data_plane"
3583
3629
echo "gcov              $gcov_tool"
3592
3638
fi
3593
3639
 
3594
3640
config_host_mak="config-host.mak"
3595
 
config_host_ld="config-host.ld"
3596
3641
 
3597
3642
echo "# Automatically generated by configure - do not modify" >config-all-disas.mak
3598
3643
 
3612
3657
echo "qemu_confdir=$qemu_confdir" >> $config_host_mak
3613
3658
echo "qemu_datadir=$qemu_datadir" >> $config_host_mak
3614
3659
echo "qemu_docdir=$qemu_docdir" >> $config_host_mak
3615
 
echo "qemu_localstatedir=$local_statedir" >> $config_host_mak
 
3660
if test "$mingw32" = "no" ; then
 
3661
  echo "qemu_localstatedir=$local_statedir" >> $config_host_mak
 
3662
fi
3616
3663
echo "qemu_helperdir=$libexecdir" >> $config_host_mak
3617
3664
echo "extra_cflags=$EXTRA_CFLAGS" >> $config_host_mak
3618
3665
echo "extra_ldflags=$EXTRA_LDFLAGS" >> $config_host_mak
3622
3669
echo "ARCH=$ARCH" >> $config_host_mak
3623
3670
 
3624
3671
case "$cpu" in
3625
 
  arm|i386|x86_64|ppc)
 
3672
  arm|i386|x86_64|ppc|aarch64)
3626
3673
    # The TCG interpreter currently does not support ld/st optimization.
3627
3674
    if test "$tcg_interpreter" = "no" ; then
3628
3675
        echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_host_mak
3705
3752
if test "$audio_win_int" = "yes" ; then
3706
3753
  echo "CONFIG_AUDIO_WIN_INT=y" >> $config_host_mak
3707
3754
fi
3708
 
echo "CONFIG_BDRV_WHITELIST=$block_drv_whitelist" >> $config_host_mak
 
3755
echo "CONFIG_BDRV_RW_WHITELIST=$block_drv_rw_whitelist" >> $config_host_mak
 
3756
echo "CONFIG_BDRV_RO_WHITELIST=$block_drv_ro_whitelist" >> $config_host_mak
3709
3757
if test "$mixemu" = "yes" ; then
3710
3758
  echo "CONFIG_MIXEMU=y" >> $config_host_mak
3711
3759
fi
3755
3803
if test "$curses" = "yes" ; then
3756
3804
  echo "CONFIG_CURSES=y" >> $config_host_mak
3757
3805
fi
3758
 
if test "$atfile" = "yes" ; then
3759
 
  echo "CONFIG_ATFILE=y" >> $config_host_mak
3760
 
fi
3761
3806
if test "$utimens" = "yes" ; then
3762
3807
  echo "CONFIG_UTIMENSAT=y" >> $config_host_mak
3763
3808
fi
3928
3973
fi
3929
3974
 
3930
3975
echo "CONFIG_COROUTINE_BACKEND=$coroutine" >> $config_host_mak
 
3976
if test "$coroutine_pool" = "yes" ; then
 
3977
  echo "CONFIG_COROUTINE_POOL=1" >> $config_host_mak
 
3978
else
 
3979
  echo "CONFIG_COROUTINE_POOL=0" >> $config_host_mak
 
3980
fi
3931
3981
 
3932
3982
if test "$open_by_handle_at" = "yes" ; then
3933
3983
  echo "CONFIG_OPEN_BY_HANDLE=y" >> $config_host_mak
3965
4015
  echo "CONFIG_GLUSTERFS=y" >> $config_host_mak
3966
4016
fi
3967
4017
 
 
4018
if test "$glusterfs_discard" = "yes" ; then
 
4019
  echo "CONFIG_GLUSTERFS_DISCARD=y" >> $config_host_mak
 
4020
fi
 
4021
 
3968
4022
if test "$libssh2" = "yes" ; then
3969
4023
  echo "CONFIG_LIBSSH2=y" >> $config_host_mak
3970
4024
fi
4039
4093
  echo "CONFIG_TRACE_DEFAULT=y" >> $config_host_mak
4040
4094
fi
4041
4095
 
 
4096
if test "$rdma" = "yes" ; then
 
4097
  echo "CONFIG_RDMA=y" >> $config_host_mak
 
4098
fi
 
4099
 
4042
4100
if test "$tcg_interpreter" = "yes"; then
4043
4101
  QEMU_INCLUDES="-I\$(SRC_PATH)/tcg/tci $QEMU_INCLUDES"
4044
4102
elif test "$ARCH" = "sparc64" ; then
4103
4161
  echo "GCOV=$gcov_tool" >> $config_host_mak
4104
4162
fi
4105
4163
 
4106
 
# generate list of library paths for linker script
4107
 
 
4108
 
$ld --verbose -v 2> /dev/null | grep SEARCH_DIR > ${config_host_ld}
4109
 
 
4110
 
if test -f ${config_host_ld}~ ; then
4111
 
  if cmp -s $config_host_ld ${config_host_ld}~ ; then
4112
 
    mv ${config_host_ld}~ $config_host_ld
4113
 
  else
4114
 
    rm ${config_host_ld}~
4115
 
  fi
4116
 
fi
4117
 
 
4118
4164
# use included Linux headers
4119
4165
if test "$linux" = "yes" ; then
4120
4166
  mkdir -p linux-headers
4128
4174
  s390x)
4129
4175
    linux_arch=s390
4130
4176
    ;;
 
4177
  aarch64)
 
4178
    linux_arch=arm64
 
4179
    ;;
4131
4180
  *)
4132
4181
    # For most CPUs the kernel architecture name and QEMU CPU name match.
4133
4182
    linux_arch="$cpu"
4142
4191
for target in $target_list; do
4143
4192
target_dir="$target"
4144
4193
config_target_mak=$target_dir/config-target.mak
4145
 
target_arch2=`echo $target | cut -d '-' -f 1`
 
4194
target_name=`echo $target | cut -d '-' -f 1`
4146
4195
target_bigendian="no"
4147
4196
 
4148
 
case "$target_arch2" in
 
4197
case "$target_name" in
4149
4198
  armeb|lm32|m68k|microblaze|mips|mipsn32|mips64|moxie|or32|ppc|ppcemb|ppc64|ppc64abi32|s390x|sh4eb|sparc|sparc64|sparc32plus|xtensaeb)
4150
4199
  target_bigendian=yes
4151
4200
  ;;
4155
4204
target_linux_user="no"
4156
4205
target_bsd_user="no"
4157
4206
case "$target" in
4158
 
  ${target_arch2}-softmmu)
 
4207
  ${target_name}-softmmu)
4159
4208
    target_softmmu="yes"
4160
4209
    ;;
4161
 
  ${target_arch2}-linux-user)
 
4210
  ${target_name}-linux-user)
4162
4211
    if test "$linux" != "yes" ; then
4163
4212
      error_exit "Target '$target' is only available on a Linux host"
4164
4213
    fi
4165
4214
    target_user_only="yes"
4166
4215
    target_linux_user="yes"
4167
4216
    ;;
4168
 
  ${target_arch2}-bsd-user)
 
4217
  ${target_name}-bsd-user)
4169
4218
    if test "$bsd" != "yes" ; then
4170
4219
      error_exit "Target '$target' is only available on a BSD host"
4171
4220
    fi
4182
4231
echo "# Automatically generated by configure - do not modify" > $config_target_mak
4183
4232
 
4184
4233
bflt="no"
4185
 
target_nptl="no"
4186
 
interp_prefix1=`echo "$interp_prefix" | sed "s/%M/$target_arch2/g"`
 
4234
interp_prefix1=`echo "$interp_prefix" | sed "s/%M/$target_name/g"`
4187
4235
gdb_xml_files=""
4188
4236
 
4189
 
TARGET_ARCH="$target_arch2"
 
4237
TARGET_ARCH="$target_name"
4190
4238
TARGET_BASE_ARCH=""
4191
4239
TARGET_ABI_DIR=""
4192
4240
 
4193
 
case "$target_arch2" in
 
4241
case "$target_name" in
4194
4242
  i386)
4195
4243
  ;;
4196
4244
  x86_64)
4197
4245
    TARGET_BASE_ARCH=i386
4198
4246
  ;;
4199
4247
  alpha)
4200
 
    target_nptl="yes"
4201
4248
  ;;
4202
4249
  arm|armeb)
4203
4250
    TARGET_ARCH=arm
4204
4251
    bflt="yes"
4205
 
    target_nptl="yes"
4206
4252
    gdb_xml_files="arm-core.xml arm-vfp.xml arm-vfp3.xml arm-neon.xml"
4207
4253
  ;;
4208
4254
  cris)
4209
 
    target_nptl="yes"
4210
4255
  ;;
4211
4256
  lm32)
4212
4257
  ;;
4217
4262
  microblaze|microblazeel)
4218
4263
    TARGET_ARCH=microblaze
4219
4264
    bflt="yes"
4220
 
    target_nptl="yes"
4221
4265
  ;;
4222
4266
  mips|mipsel)
4223
4267
    TARGET_ARCH=mips
4224
4268
    echo "TARGET_ABI_MIPSO32=y" >> $config_target_mak
4225
 
    target_nptl="yes"
4226
4269
  ;;
4227
4270
  mipsn32|mipsn32el)
4228
4271
    TARGET_ARCH=mips64
4243
4286
  ;;
4244
4287
  ppc)
4245
4288
    gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
4246
 
    target_nptl="yes"
4247
4289
  ;;
4248
4290
  ppcemb)
4249
4291
    TARGET_BASE_ARCH=ppc
4250
4292
    TARGET_ABI_DIR=ppc
4251
4293
    gdb_xml_files="power-core.xml power-fpu.xml power-altivec.xml power-spe.xml"
4252
 
    target_nptl="yes"
4253
4294
  ;;
4254
4295
  ppc64)
4255
4296
    TARGET_BASE_ARCH=ppc
4266
4307
  sh4|sh4eb)
4267
4308
    TARGET_ARCH=sh4
4268
4309
    bflt="yes"
4269
 
    target_nptl="yes"
4270
4310
  ;;
4271
4311
  sparc)
4272
4312
  ;;
4280
4320
    echo "TARGET_ABI32=y" >> $config_target_mak
4281
4321
  ;;
4282
4322
  s390x)
4283
 
    target_nptl="yes"
4284
4323
  ;;
4285
4324
  unicore32)
4286
4325
  ;;
4302
4341
    echo "$@"| LC_ALL=C tr '[a-z]' '[A-Z]'
4303
4342
}
4304
4343
 
4305
 
echo "TARGET_ARCH=$TARGET_ARCH" >> $config_target_mak
4306
4344
target_arch_name="`upper $TARGET_ARCH`"
4307
4345
echo "TARGET_$target_arch_name=y" >> $config_target_mak
4308
 
echo "TARGET_ARCH2=$target_arch2" >> $config_target_mak
4309
 
echo "TARGET_TYPE=TARGET_TYPE_`upper $target_arch2`" >> $config_target_mak
 
4346
echo "TARGET_NAME=$target_name" >> $config_target_mak
4310
4347
echo "TARGET_BASE_ARCH=$TARGET_BASE_ARCH" >> $config_target_mak
4311
4348
if [ "$TARGET_ABI_DIR" = "" ]; then
4312
4349
  TARGET_ABI_DIR=$TARGET_ARCH
4313
4350
fi
4314
4351
echo "TARGET_ABI_DIR=$TARGET_ABI_DIR" >> $config_target_mak
4315
 
case "$target_arch2" in
 
4352
case "$target_name" in
4316
4353
  i386|x86_64)
4317
4354
    if test "$xen" = "yes" -a "$target_softmmu" = "yes" ; then
4318
4355
      echo "CONFIG_XEN=y" >> $config_target_mak
4323
4360
    ;;
4324
4361
  *)
4325
4362
esac
4326
 
case "$target_arch2" in
 
4363
case "$target_name" in
4327
4364
  arm|i386|x86_64|ppcemb|ppc|ppc64|s390x)
4328
4365
    # Make sure the target and host cpus are compatible
4329
4366
    if test "$kvm" = "yes" -a "$target_softmmu" = "yes" -a \
4330
 
      \( "$target_arch2" = "$cpu" -o \
4331
 
      \( "$target_arch2" = "ppcemb" -a "$cpu" = "ppc" \) -o \
4332
 
      \( "$target_arch2" = "ppc64"  -a "$cpu" = "ppc" \) -o \
4333
 
      \( "$target_arch2" = "ppc"    -a "$cpu" = "ppc64" \) -o \
4334
 
      \( "$target_arch2" = "ppcemb" -a "$cpu" = "ppc64" \) -o \
4335
 
      \( "$target_arch2" = "x86_64" -a "$cpu" = "i386"   \) -o \
4336
 
      \( "$target_arch2" = "i386"   -a "$cpu" = "x86_64" \) \) ; then
 
4367
      \( "$target_name" = "$cpu" -o \
 
4368
      \( "$target_name" = "ppcemb" -a "$cpu" = "ppc" \) -o \
 
4369
      \( "$target_name" = "ppc64"  -a "$cpu" = "ppc" \) -o \
 
4370
      \( "$target_name" = "ppc"    -a "$cpu" = "ppc64" \) -o \
 
4371
      \( "$target_name" = "ppcemb" -a "$cpu" = "ppc64" \) -o \
 
4372
      \( "$target_name" = "x86_64" -a "$cpu" = "i386"   \) -o \
 
4373
      \( "$target_name" = "i386"   -a "$cpu" = "x86_64" \) \) ; then
4337
4374
      echo "CONFIG_KVM=y" >> $config_target_mak
4338
4375
      if test "$vhost_net" = "yes" ; then
4339
4376
        echo "CONFIG_VHOST_NET=y" >> $config_target_mak
4340
4377
      fi
4341
4378
    fi
4342
4379
esac
4343
 
case "$target_arch2" in
4344
 
  i386|x86_64)
4345
 
    echo "CONFIG_HAVE_GET_MEMORY_MAPPING=y" >> $config_target_mak
4346
 
esac
4347
4380
if test "$target_bigendian" = "yes" ; then
4348
4381
  echo "TARGET_WORDS_BIGENDIAN=y" >> $config_target_mak
4349
4382
fi
4350
4383
if test "$target_softmmu" = "yes" ; then
4351
4384
  echo "CONFIG_SOFTMMU=y" >> $config_target_mak
4352
 
  case "$target_arch2" in
4353
 
    i386|x86_64)
4354
 
      echo "CONFIG_HAVE_CORE_DUMP=y" >> $config_target_mak
4355
 
  esac
4356
4385
fi
4357
4386
if test "$target_user_only" = "yes" ; then
4358
4387
  echo "CONFIG_USER_ONLY=y" >> $config_target_mak
4372
4401
if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then
4373
4402
  echo "TARGET_HAS_BFLT=y" >> $config_target_mak
4374
4403
fi
4375
 
if test "$target_user_only" = "yes" \
4376
 
        -a "$nptl" = "yes" -a "$target_nptl" = "yes"; then
4377
 
  echo "CONFIG_USE_NPTL=y" >> $config_target_mak
4378
 
fi
4379
4404
if test "$target_user_only" = "yes" -a "$guest_base" = "yes"; then
4380
4405
  echo "CONFIG_USE_GUEST_BASE=y" >> $config_target_mak
4381
4406
fi
4484
4509
  fi
4485
4510
fi
4486
4511
 
4487
 
if test "$ARCH" = "tci"; then
4488
 
  linker_script=""
4489
 
else
4490
 
  linker_script="-Wl,-T../config-host.ld -Wl,-T,\$(SRC_PATH)/ldscripts/\$(ARCH).ld"
4491
 
fi
4492
 
 
4493
4512
if test "$target_linux_user" = "yes" -o "$target_bsd_user" = "yes" ; then
4494
 
  case "$ARCH" in
4495
 
  alpha | s390x)
4496
 
    # The default placement of the application is fine.
4497
 
    ;;
4498
 
  *)
4499
 
    ldflags="$linker_script $ldflags"
4500
 
    ;;
4501
 
  esac
 
4513
  ldflags="$ldflags $textseg_ldflags"
4502
4514
fi
4503
4515
 
4504
4516
echo "LDFLAGS+=$ldflags" >> $config_target_mak
4510
4522
  echo "config-host.h: subdir-pixman" >> $config_host_mak
4511
4523
fi
4512
4524
 
 
4525
if test "$rdma" = "yes" ; then
 
4526
echo "CONFIG_RDMA=y" >> $config_host_mak
 
4527
fi
 
4528
 
4513
4529
if [ "$dtc_internal" = "yes" ]; then
4514
4530
  echo "config-host.h: subdir-dtc" >> $config_host_mak
4515
4531
fi
4516
4532
 
4517
4533
# build tree in object directory in case the source is not in the current directory
4518
 
DIRS="tests tests/tcg tests/tcg/cris tests/tcg/lm32 tests/libqos"
 
4534
DIRS="tests tests/tcg tests/tcg/cris tests/tcg/lm32 tests/libqos tests/qapi-schema tests/tcg/xtensa"
4519
4535
DIRS="$DIRS pc-bios/optionrom pc-bios/spapr-rtas pc-bios/s390-ccw"
4520
4536
DIRS="$DIRS roms/seabios roms/vgabios"
4521
4537
DIRS="$DIRS qapi-generated"
4522
4538
FILES="Makefile tests/tcg/Makefile qdict-test-data.txt"
4523
4539
FILES="$FILES tests/tcg/cris/Makefile tests/tcg/cris/.gdbinit"
4524
 
FILES="$FILES tests/tcg/lm32/Makefile po/Makefile"
 
4540
FILES="$FILES tests/tcg/lm32/Makefile tests/tcg/xtensa/Makefile po/Makefile"
4525
4541
FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps"
4526
4542
FILES="$FILES pc-bios/spapr-rtas/Makefile"
4527
4543
FILES="$FILES pc-bios/s390-ccw/Makefile"