aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2020-09-22 04:28:22 -0700
committerAndrew Waterman <andrew@sifive.com>2020-09-22 04:28:22 -0700
commit59d450e58646bdc0af5e9250df7d6267c3c791fc (patch)
tree02a111a8dde57f54d95edda9cb9b3ee532ecef7b /configure
parentb1dc3826d0254b5d4853037cd399560b39745983 (diff)
downloadspike-59d450e58646bdc0af5e9250df7d6267c3c791fc.zip
spike-59d450e58646bdc0af5e9250df7d6267c3c791fc.tar.gz
spike-59d450e58646bdc0af5e9250df7d6267c3c791fc.tar.bz2
Separate build of spike and spike-dasm
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure97
1 files changed, 97 insertions, 0 deletions
diff --git a/configure b/configure
index e7d4bae..317bf66 100755
--- a/configure
+++ b/configure
@@ -626,6 +626,7 @@ ac_subst_vars='LTLIBOBJS
LIBOBJS
subprojects_enabled
subprojects
+HAVE_DLOPEN
HAVE_INT128
INSTALL_DATA
INSTALL_SCRIPT
@@ -4852,7 +4853,11 @@ ac_res=$ac_cv_search_dlopen
if test "$ac_res" != no; then :
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+
$as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
+,
+ HAVE_DLOPEN=yes
+
fi
@@ -4984,6 +4989,51 @@ fi
# Add subproject to our running list
+ subprojects="$subprojects disasm"
+
+ # 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 : disasm" >&5
+$as_echo "$as_me: configuring default subproject : disasm" >&6;}
+ ac_config_files="$ac_config_files disasm.mk:disasm/disasm.mk.in"
+
+ enable_disasm_sproj="yes"
+ subprojects_enabled="$subprojects_enabled disasm"
+
+$as_echo "#define DISASM_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 customext"
# Process the subproject appropriately. If enabled add it to the
@@ -5141,6 +5191,51 @@ $as_echo "#define SPIKE_MAIN_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 spike_dasm"
+
+ # 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 : spike_dasm" >&5
+$as_echo "$as_me: configuring default subproject : spike_dasm" >&6;}
+ ac_config_files="$ac_config_files spike_dasm.mk:spike_dasm/spike_dasm.mk.in"
+
+ enable_spike_dasm_sproj="yes"
+ subprojects_enabled="$subprojects_enabled spike_dasm"
+
+$as_echo "#define SPIKE_DASM_ENABLED /**/" >>confdefs.h
+
+
+
+
+
+
# Output make variables
@@ -5874,10 +5969,12 @@ do
case $ac_config_target in
"fesvr.mk") CONFIG_FILES="$CONFIG_FILES fesvr.mk:fesvr/fesvr.mk.in" ;;
"riscv.mk") CONFIG_FILES="$CONFIG_FILES riscv.mk:riscv/riscv.mk.in" ;;
+ "disasm.mk") CONFIG_FILES="$CONFIG_FILES disasm.mk:disasm/disasm.mk.in" ;;
"customext.mk") CONFIG_FILES="$CONFIG_FILES customext.mk:customext/customext.mk.in" ;;
"fdt.mk") CONFIG_FILES="$CONFIG_FILES fdt.mk:fdt/fdt.mk.in" ;;
"softfloat.mk") CONFIG_FILES="$CONFIG_FILES softfloat.mk:softfloat/softfloat.mk.in" ;;
"spike_main.mk") CONFIG_FILES="$CONFIG_FILES spike_main.mk:spike_main/spike_main.mk.in" ;;
+ "spike_dasm.mk") CONFIG_FILES="$CONFIG_FILES spike_dasm.mk:spike_dasm/spike_dasm.mk.in" ;;
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"riscv-spike.pc") CONFIG_FILES="$CONFIG_FILES riscv-spike.pc" ;;