aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2016-06-01 13:54:46 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2016-06-01 13:54:46 -0700
commit2fe8a17abf9a3329f5314af89bce99385e5a16f6 (patch)
treeddfebe8854c19a65b79dc8ceb36c00d62f66f518
parent78dd5ad00d08ba245a736401ef1d5f5dfd16f113 (diff)
downloadriscv-isa-sim-2fe8a17abf9a3329f5314af89bce99385e5a16f6.zip
riscv-isa-sim-2fe8a17abf9a3329f5314af89bce99385e5a16f6.tar.gz
riscv-isa-sim-2fe8a17abf9a3329f5314af89bce99385e5a16f6.tar.bz2
Fix build when not building inside root directory
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 2eb7bfd..d459316 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -71,7 +71,7 @@ install_exes_dir := $(INSTALLDIR)/bin
sprojs := @subprojects@
sprojs_enabled := @subprojects_enabled@
-sprojs_include := -I. $(addprefix -I$(src_dir)/, $(sprojs_enabled))
+sprojs_include := -I. -I$(src_dir) $(addprefix -I$(src_dir)/, $(sprojs_enabled))
VPATH := $(addprefix $(src_dir)/, $(sprojs_enabled))
#-------------------------------------------------------------------------