]> xenbits.xensource.com Git - people/julieng/boot-wrapper-aarch64.git/commitdiff
Check for dtc in the kernel dir
authorMatthew Leach <Matthew.Leach@arm.com>
Thu, 23 Jan 2014 17:29:28 +0000 (17:29 +0000)
committerMark Rutland <mark.rutland@arm.com>
Wed, 12 Mar 2014 11:15:58 +0000 (11:15 +0000)
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>
configure.ac

index a94bfac60cfb9252278cf2a375a6cc9caea9a660..7a6aaf6a0f5a31a220672cc30681aa3f603d7704 100644 (file)
@@ -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