aboutsummaryrefslogtreecommitdiff
path: root/sim/m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-19 22:13:00 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-19 22:43:56 -0400
commita979f2a07a7df495199f6477b43a34b781e0443f (patch)
tree8c8c307ccde1b5f33e1976ab0142ab5afc2e1385 /sim/m4
parent54c47dfb68a5e2cfde5fec7224b0f92b12edc42c (diff)
downloadfsf-binutils-gdb-a979f2a07a7df495199f6477b43a34b781e0443f.zip
fsf-binutils-gdb-a979f2a07a7df495199f6477b43a34b781e0443f.tar.gz
fsf-binutils-gdb-a979f2a07a7df495199f6477b43a34b781e0443f.tar.bz2
sim: unify dtc tool checks
Only one arch uses this currently, but others could too. By moving it up to the common checks, it'll also let us simplify the moxie code significantly.
Diffstat (limited to 'sim/m4')
-rw-r--r--sim/m4/sim_ac_toolchain.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/m4/sim_ac_toolchain.m4 b/sim/m4/sim_ac_toolchain.m4
index 2f1a428..47b9928 100644
--- a/sim/m4/sim_ac_toolchain.m4
+++ b/sim/m4/sim_ac_toolchain.m4
@@ -24,6 +24,8 @@ AC_C_BIGENDIAN
AC_ARG_PROGRAM
AC_PROG_INSTALL
+AC_CHECK_TOOL(DTC, dtc)
+
dnl Setup toolchain settings for build-time tools..
if test "x$cross_compiling" = "xno"; then
: "${AR_FOR_BUILD:=\$(AR)}"