aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Leach <Matthew.Leach@arm.com>2014-01-23 17:29:28 +0000
committerMark Rutland <mark.rutland@arm.com>2014-03-12 11:15:58 +0000
commitba169a9c86c6d9fa555dfebd8c6cdffd86f76e73 (patch)
tree5cf982d93eb13272304a7b89fc556a928f67c433
parent7613f81fc03cd91fe90977165e48875ab98c2e68 (diff)
downloadboot-wrapper-aarch64-ba169a9c86c6d9fa555dfebd8c6cdffd86f76e73.tar.gz
Check for dtc in the kernel dir
The dtc tool should also be checked for in the $KERN_DIR/scripts/dtc directory as it is shipped with Linux. Signed-off-by: Matthew Leach <matthew.leach@arm.com> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index a94bfac..7a6aaf6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -63,7 +63,7 @@ AC_PROG_CPP
AM_PROG_AS
AC_PROG_SED
AC_PROG_LN_S
-AC_PATH_PROG([DTC], dtc, error)
+AC_PATH_PROG([DTC], dtc, error, [$PATH$PATH_SEPARATOR$KERN_DIR/scripts/dtc])
if test "x$DTC" = "xerror"; then
AC_MSG_ERROR([cannot find the device tree compiler (dtc)])
fi