diff mbox

[v2] configure: add more detailed hint of old libfdt-dev missing, libfdt_env.h

Message ID 5358DB23.7030105@huawei.com
State New
Headers show

Commit Message

john.liuli April 24, 2014, 9:36 a.m. UTC
libfdt_env.h is missing in some stable installs (<1.3.0-3),
some released linux distributions(e.g. Ubuntu 12.04) depending
on it still complain missing libfdt even if already installed.
So give more detailed hint for such OS users.

Signed-off-by: Liu Li <john.liuli@huawei.com>
---
  configure |    5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/configure b/configure
index 69b9f56..8eb0b90 100755
--- a/configure
+++ b/configure
@@ -2948,8 +2948,9 @@  EOF
      fdt_libs="-L\$(BUILD_DIR)/dtc/libfdt $fdt_libs"
    elif test "$fdt" = "yes" ; then
      # have neither and want - prompt for system/submodule install
-    error_exit "DTC (libfdt) not present. Your options:" \
-        "  (1) Preferred: Install the DTC (libfdt) devel package" \
+    error_exit "DTC (libfdt) not present or too old. Your options:" \
+        "  (1) Preferred: Install or update the DTC (libfdt)" \
+        "      devel package" \
          "  (2) Fetch the DTC submodule, using:" \
          "      git submodule update --init dtc"
    else