aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2014-11-25 13:39:53 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2014-11-25 14:40:51 -0800
commit590417bec978bfc3fbf35d303760494395eb65b2 (patch)
treee264e60f8ad9eba772257c9b2676997cd02b7140 /configure
parentc31742961bdab9094c35ef6c1b33186892aa34d1 (diff)
downloadspike-590417bec978bfc3fbf35d303760494395eb65b2.zip
spike-590417bec978bfc3fbf35d303760494395eb65b2.tar.gz
spike-590417bec978bfc3fbf35d303760494395eb65b2.tar.bz2
Factor out the dummy RoCC accelerator
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure46
1 files changed, 46 insertions, 0 deletions
diff --git a/configure b/configure
index abddde5..e98db52 100755
--- a/configure
+++ b/configure
@@ -4303,6 +4303,51 @@ $as_echo "#define HWACHA_ENABLED /**/" >>confdefs.h
# Add subproject to our running list
+ subprojects="$subprojects dummy_rocc"
+
+ # Process the subproject appropriately. If enabled add it to the
+ # $enabled_subprojects running shell variable, set a
+ # SUBPROJECT_ENABLED C define, and include the appropriate
+ # 'subproject.ac'.
+
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: configuring default subproject : dummy_rocc" >&5
+$as_echo "$as_me: configuring default subproject : dummy_rocc" >&6;}
+ ac_config_files="$ac_config_files dummy_rocc.mk:dummy_rocc/dummy_rocc.mk.in"
+
+ enable_dummy_rocc_sproj="yes"
+ subprojects_enabled="$subprojects_enabled dummy_rocc"
+
+$as_echo "#define DUMMY_ROCC_ENABLED /**/" >>confdefs.h
+
+
+
+
+
+
+ # Determine if this is a required or an optional subproject
+
+
+
+ # Determine if there is a group with the same name
+
+
+
+ # Create variations of the subproject name suitable for use as a CPP
+ # enabled define, a shell enabled variable, and a shell function
+
+
+
+
+
+
+
+
+
+
+
+ # Add subproject to our running list
+
subprojects="$subprojects softfloat"
# Process the subproject appropriately. If enabled add it to the
@@ -5147,6 +5192,7 @@ do
case $ac_config_target in
"riscv.mk") CONFIG_FILES="$CONFIG_FILES riscv.mk:riscv/riscv.mk.in" ;;
"hwacha.mk") CONFIG_FILES="$CONFIG_FILES hwacha.mk:hwacha/hwacha.mk.in" ;;
+ "dummy_rocc.mk") CONFIG_FILES="$CONFIG_FILES dummy_rocc.mk:dummy_rocc/dummy_rocc.mk.in" ;;
"softfloat.mk") CONFIG_FILES="$CONFIG_FILES softfloat.mk:softfloat/softfloat.mk.in" ;;
"spike.mk") CONFIG_FILES="$CONFIG_FILES spike.mk:spike/spike.mk.in" ;;
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;