Add fdt to new feature convention
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
c419815796
commit
2df87df749
16
configure
vendored
16
configure
vendored
@ -182,6 +182,7 @@ brlapi=""
|
|||||||
curl=""
|
curl=""
|
||||||
curses=""
|
curses=""
|
||||||
docs=""
|
docs=""
|
||||||
|
fdt=""
|
||||||
nptl=""
|
nptl=""
|
||||||
sdl=""
|
sdl=""
|
||||||
vde=""
|
vde=""
|
||||||
@ -217,7 +218,6 @@ kvm="no"
|
|||||||
kerneldir=""
|
kerneldir=""
|
||||||
aix="no"
|
aix="no"
|
||||||
blobs="yes"
|
blobs="yes"
|
||||||
fdt="yes"
|
|
||||||
xen="yes"
|
xen="yes"
|
||||||
pkgversion=""
|
pkgversion=""
|
||||||
|
|
||||||
@ -510,6 +510,10 @@ for opt do
|
|||||||
;;
|
;;
|
||||||
--enable-curl) curl="yes"
|
--enable-curl) curl="yes"
|
||||||
;;
|
;;
|
||||||
|
--disable-fdt) fdt="no"
|
||||||
|
;;
|
||||||
|
--enable-fdt) fdt="yes"
|
||||||
|
;;
|
||||||
--disable-nptl) nptl="no"
|
--disable-nptl) nptl="no"
|
||||||
;;
|
;;
|
||||||
--enable-nptl) nptl="yes"
|
--enable-nptl) nptl="yes"
|
||||||
@ -638,6 +642,8 @@ echo " --disable-curses disable curses output"
|
|||||||
echo " --enable-curses enable curses output"
|
echo " --enable-curses enable curses output"
|
||||||
echo " --disable-curl disable curl connectivity"
|
echo " --disable-curl disable curl connectivity"
|
||||||
echo " --enable-curl enable 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 " --disable-bluez disable bluez stack connectivity"
|
||||||
echo " --enable-bluez enable bluez stack connectivity"
|
echo " --enable-bluez enable bluez stack connectivity"
|
||||||
echo " --disable-kvm disable KVM acceleration support"
|
echo " --disable-kvm disable KVM acceleration support"
|
||||||
@ -1304,8 +1310,7 @@ fi
|
|||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
# fdt probe
|
# fdt probe
|
||||||
if test "$fdt" = "yes" ; then
|
if test "$fdt" != "no" ; then
|
||||||
fdt=no
|
|
||||||
fdt_libs="-lfdt"
|
fdt_libs="-lfdt"
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
int main(void) { return 0; }
|
int main(void) { return 0; }
|
||||||
@ -1313,6 +1318,11 @@ EOF
|
|||||||
if compile_prog "" "$fdt_libs" ; then
|
if compile_prog "" "$fdt_libs" ; then
|
||||||
fdt=yes
|
fdt=yes
|
||||||
libs_softmmu="$fdt_libs $libs_softmmu"
|
libs_softmmu="$fdt_libs $libs_softmmu"
|
||||||
|
else
|
||||||
|
if test "$fdt" = "yes" ; then
|
||||||
|
feature_not_found "fdt"
|
||||||
|
fi
|
||||||
|
fdt=no
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user