aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-12 18:29:54 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 19:33:15 -0500
commit2df87df749463139afa1881b1b24fb2e5ff403d9 (patch)
treef9b9255575c86707b5e7394644476ff9ddc53f1d /configure
parentc419815796224befcb334e2066352a065f226285 (diff)
downloadqemu-2df87df749463139afa1881b1b24fb2e5ff403d9.zip
qemu-2df87df749463139afa1881b1b24fb2e5ff403d9.tar.gz
qemu-2df87df749463139afa1881b1b24fb2e5ff403d9.tar.bz2
Add fdt to new feature convention
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 13 insertions, 3 deletions
diff --git a/configure b/configure
index fd1c475..6be2d74 100755
--- a/configure
+++ b/configure
@@ -182,6 +182,7 @@ brlapi=""
curl=""
curses=""
docs=""
+fdt=""
nptl=""
sdl=""
vde=""
@@ -217,7 +218,6 @@ kvm="no"
kerneldir=""
aix="no"
blobs="yes"
-fdt="yes"
xen="yes"
pkgversion=""
@@ -510,6 +510,10 @@ for opt do
;;
--enable-curl) curl="yes"
;;
+ --disable-fdt) fdt="no"
+ ;;
+ --enable-fdt) fdt="yes"
+ ;;
--disable-nptl) nptl="no"
;;
--enable-nptl) nptl="yes"
@@ -638,6 +642,8 @@ echo " --disable-curses disable curses output"
echo " --enable-curses enable curses output"
echo " --disable-curl disable curl connectivity"
echo " --enable-curl enable curl connectivity"
+echo " --disable-fdt disable fdt device tree"
+echo " --enable-fdt enable fdt device tree"
echo " --disable-bluez disable bluez stack connectivity"
echo " --enable-bluez enable bluez stack connectivity"
echo " --disable-kvm disable KVM acceleration support"
@@ -1304,8 +1310,7 @@ fi
##########################################
# fdt probe
-if test "$fdt" = "yes" ; then
- fdt=no
+if test "$fdt" != "no" ; then
fdt_libs="-lfdt"
cat > $TMPC << EOF
int main(void) { return 0; }
@@ -1313,6 +1318,11 @@ EOF
if compile_prog "" "$fdt_libs" ; then
fdt=yes
libs_softmmu="$fdt_libs $libs_softmmu"
+ else
+ if test "$fdt" = "yes" ; then
+ feature_not_found "fdt"
+ fi
+ fdt=no
fi
fi