Revert "PPC: Fail configure when libfdt is not available"
authorBlue Swirl <blauwirbel@gmail.com>
Tue, 1 Nov 2011 20:59:32 +0000 (20:59 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 1 Nov 2011 20:59:32 +0000 (20:59 +0000)
This reverts commit f90a9d02401eeeec18a122b61ccccb91244f321c.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure

index 28b76c0..850efc0 100755 (executable)
--- a/configure
+++ b/configure
@@ -3454,16 +3454,7 @@ case "$target_arch2" in
       fi
     fi
 esac
-if test "$fdt" != "yes" && test "$target_arch2" = "ppc" -o \
-        "$target_arch2" = "ppc64" -o "$target_arch2" = "ppcemb"; then
-  echo
-  echo "Error: libfdt missing"
-  echo "The PowerPC target requires libfdt to work properly."
-  echo "Please make sure to have it and its development packages installed."
-  echo
-  exit 1
-fi
-if test "$target_arch2" = "ppc64"; then
+if test "$target_arch2" = "ppc64" -a "$fdt" = "yes"; then
   echo "CONFIG_PSERIES=y" >> $config_target_mak
 fi
 if test "$target_bigendian" = "yes" ; then