aboutsummaryrefslogtreecommitdiff
path: root/riscv
diff options
context:
space:
mode:
authorPrashanth Mundkur <prashanth.mundkur@gmail.com>2018-02-26 15:37:01 -0800
committerAndrew Waterman <aswaterman@gmail.com>2018-03-06 11:46:53 -0600
commit3380894bafdd85efb340c11d77072632dceb1bb6 (patch)
treee4ed5d0b67a4521d312ceefbd55c8a20ba31a26a /riscv
parentc1fda877781e5ce5c8c586affc123fe65bd174d9 (diff)
downloadspike-3380894bafdd85efb340c11d77072632dceb1bb6.zip
spike-3380894bafdd85efb340c11d77072632dceb1bb6.tar.gz
spike-3380894bafdd85efb340c11d77072632dceb1bb6.tar.bz2
Fix install of a missed header from debug_rom.
The installed header files from the riscv subproject were incomplete, since processor.h includes debug_rom_defines.h, and the latter was not installed. Fix by moving it into riscv/, add it to the riscv subproject header list, which ensures it will get installed. While here, also add a missed dependency of debug_rom on riscv/encoding.h to debug_rom/Makefile.
Diffstat (limited to 'riscv')
-rw-r--r--riscv/debug_module.cc2
-rw-r--r--riscv/processor.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/riscv/debug_module.cc b/riscv/debug_module.cc
index 39e1ae0..de54a83 100644
--- a/riscv/debug_module.cc
+++ b/riscv/debug_module.cc
@@ -6,7 +6,7 @@
#include "mmu.h"
#include "debug_rom/debug_rom.h"
-#include "debug_rom/debug_rom_defines.h"
+#include "debug_rom_defines.h"
#if 0
# define D(x) x
diff --git a/riscv/processor.h b/riscv/processor.h
index 070fccf..3998ce5 100644
--- a/riscv/processor.h
+++ b/riscv/processor.h
@@ -9,7 +9,7 @@
#include <string>
#include <vector>
#include <map>
-#include "debug_rom/debug_rom_defines.h"
+#include "debug_rom_defines.h"
class processor_t;
class mmu_t;