aboutsummaryrefslogtreecommitdiff
path: root/sim/common/Make-common.in
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2005-02-09 22:04:04 +0000
committerJim Blandy <jimb@codesourcery.com>2005-02-09 22:04:04 +0000
commit9ab46d53980f2776405d56741d7f33e4adc3ead6 (patch)
tree0a168ada951d9dfe159963313cabdbe6c825cabf /sim/common/Make-common.in
parent11dced61197b04a2a9653e6718dd939ebd63b077 (diff)
downloadgdb-9ab46d53980f2776405d56741d7f33e4adc3ead6.zip
gdb-9ab46d53980f2776405d56741d7f33e4adc3ead6.tar.gz
gdb-9ab46d53980f2776405d56741d7f33e4adc3ead6.tar.bz2
cgen/ChangeLog:
2005-02-09 Jim Blandy <jimb@redhat.com> * cgen-sim.scm (load-files): Don't load fixup.scm. (See corresponding change in the sim/common directory.) sim/common/ChangeLog: 2005-02-09 Jim Blandy <jimb@redhat.com> * Make-common.in (CGEN): Load guile.scm, and include a trailing '-s' argument. (CGEN_FLAGS_TO_PASS): Include single quotes around the reference to $(CGEN), to ensure that the command substitution happens where the variable is referenced in the submake, not when the submake's arguments are expanded. (cgen.sh): Be prepared for the 'cgen' argument to contain spaces. (arch, cpu, decode, cpu-decode, defs, desc): Place the name of the application Scheme script directly after ${cgen}; don't precede it with a -s.
Diffstat (limited to 'sim/common/Make-common.in')
-rw-r--r--sim/common/Make-common.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in
index ee72b42..edcb1d2 100644
--- a/sim/common/Make-common.in
+++ b/sim/common/Make-common.in
@@ -682,7 +682,7 @@ stamp-h: config.in config.status
# CGEN support
CGENDIR = @cgendir@
-CGEN = `if [ -f ../../guile/libguile/guile ]; then echo ../../guile/libguile/guile; else echo guile ; fi`
+CGEN = "`if [ -f ../../guile/libguile/guile ]; then echo ../../guile/libguile/guile; else echo guile ; fi` -l $(CGENDIR)/guile.scm -s"
CGENFLAGS = -v
CGEN_CPU_DIR = $(CGENDIR)/cpu
@@ -700,7 +700,7 @@ CGEN_CPU_SEM = -S tmp-sem.c1
CGEN_CPU_SEMSW = -X tmp-semsw.c1
CGEN_FLAGS_TO_PASS = \
- CGEN=$(CGEN) \
+ CGEN='$(CGEN)' \
CGENFLAGS="$(CGENFLAGS)"
# We store the generated files in the source directory until we decide to