fdt: move interrupt controller into its own node
[riscv-isa-sim.git] / configure.ac
index 92289dedd2ad2728e6869a79a57f194d4fbc428c..ea64de74830fdd22615463e93634ecd2a146b0eb 100644 (file)
@@ -51,6 +51,10 @@ AC_PROG_CC
 AC_PROG_CXX
 AC_CHECK_TOOL([AR],[ar])
 AC_CHECK_TOOL([RANLIB],[ranlib])
+AC_PATH_PROG([DTC],[dtc])
+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