X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=configure.ac;h=e361877da2a50db38b1424b280e7c639bdc611f7;hb=160c1a5cee45d3842824af565e52458e2f8b3c48;hp=92289dedd2ad2728e6869a79a57f194d4fbc428c;hpb=3bfc00ef2a1b1f0b0472a39a866261b00f67027e;p=riscv-isa-sim.git diff --git a/configure.ac b/configure.ac index 92289de..e361877 100644 --- a/configure.ac +++ b/configure.ac @@ -51,6 +51,11 @@ AC_PROG_CC AC_PROG_CXX AC_CHECK_TOOL([AR],[ar]) AC_CHECK_TOOL([RANLIB],[ranlib]) +AC_PATH_PROG([DTC],[dtc],[no]) +AS_IF([test x"$DTC" == xno],AC_MSG_ERROR([device-tree-compiler not found])) +AC_DEFINE_UNQUOTED(DTC, ["$DTC"], [Path to the device-tree-compiler]) + +AC_C_BIGENDIAN(AC_MSG_ERROR([Spike requires a little-endian host])) #------------------------------------------------------------------------- # MCPPBS specific program checks