Commit aa90345a by Richard Kenner

(MD_FILE rule): Depend on $(MD_DEPS). Invoke $(MD_CPP).

From-SVN: r6256
parent 87ac3809
...@@ -286,6 +286,7 @@ GCC_PARTS=$(GCC_PASSES) $(LIBGCC) $(EXTRA_PROGRAMS) $(USE_COLLECT2) $(EXTRA_PART ...@@ -286,6 +286,7 @@ GCC_PARTS=$(GCC_PASSES) $(LIBGCC) $(EXTRA_PROGRAMS) $(USE_COLLECT2) $(EXTRA_PART
DIR = ../gcc DIR = ../gcc
# Guaranteed to not exist when not passing md through cpp. # Guaranteed to not exist when not passing md through cpp.
# This value is overridden directly by configure.
MD_FILE = md-cpp-not-used MD_FILE = md-cpp-not-used
# Flags to use when cross-building GCC. # Flags to use when cross-building GCC.
...@@ -1181,11 +1182,9 @@ stamp-output : md genoutput $(srcdir)/move-if-change ...@@ -1181,11 +1182,9 @@ stamp-output : md genoutput $(srcdir)/move-if-change
# since that describes the host machine. # since that describes the host machine.
# Pass the md file through cpp if the target requests it. # Pass the md file through cpp if the target requests it.
$(MD_FILE): $(CPP_MD) $(MD_FILE): $(MD_DEPS)
-if [ -f md.pre-cpp ]; then \ rm -f $@
rm -f md ; ./cpp $(CPP_MD_FLAGS) md.pre-cpp | sed 's/^# /; /g' > md ; \ $(MD_CPP) $(MD_CPPFLAGS) md.pre-cpp | sed 's/^# /; /g' > $@
else true ; \
fi
genconfig : genconfig.o $(HOST_RTL) $(HOST_LIBDEPS) genconfig : genconfig.o $(HOST_RTL) $(HOST_LIBDEPS)
$(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o genconfig \ $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o genconfig \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment