diff options
Diffstat (limited to 'src/dev')
-rw-r--r-- | src/dev/SConscript | 2 | ||||
-rw-r--r-- | src/dev/sinic.cc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/dev/SConscript b/src/dev/SConscript index cba821f87..1bcddb6ee 100644 --- a/src/dev/SConscript +++ b/src/dev/SConscript @@ -31,7 +31,7 @@ Import('*') -if env['TARGET_ISA'] == 'no': +if env['TARGET_ISA'] == 'null': Return() SimObject('BadDevice.py') diff --git a/src/dev/sinic.cc b/src/dev/sinic.cc index 02eb8a113..7da70c482 100644 --- a/src/dev/sinic.cc +++ b/src/dev/sinic.cc @@ -32,7 +32,9 @@ #include <limits> #include <string> +#ifdef SINIC_VTOPHYS #include "arch/vtophys.hh" +#endif #include "base/compiler.hh" #include "base/debug.hh" #include "base/inet.hh" |