From a979f2a07a7df495199f6477b43a34b781e0443f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 19 Jun 2021 22:13:00 -0400 Subject: 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. --- sim/m4/sim_ac_toolchain.m4 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sim/m4') 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)}" -- cgit v1.1