From 5d39d00bb989107b4bf19311d19eaffc9bc6bf03 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" <hjl@gcc.gnu.org> Date: Fri, 17 Aug 2007 06:08:36 -0700 Subject: [PATCH] Makefile.in (version.o): Depend on $(REVISION) only if REVISION_s is defined. 2007-08-17 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (version.o): Depend on $(REVISION) only if REVISION_s is defined. From-SVN: r127583 --- gcc/ChangeLog | 19 ++++++++++++------- gcc/Makefile.in | 4 ++++ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e077c2e9da6f..659a5862c5b2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-08-17 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.in (version.o): Depend on $(REVISION) only if + REVISION_s is defined. + 2007-08-17 Sa Liu <saliu@de.ibm.com> Ulrich Weigand <uweigand@de.ibm.com> @@ -7,12 +12,12 @@ 2007-08-17 Chen Liqin <liqin@sunnorth.com.cn> - * config/score/score.md : Update pattern tablejump. - * config/score/score.c : Update score_initialize_trampoline - function. - * config/score/score.h (TRAMPOLINE_TEMPLATE): Added macro. - (TRAMPOLINE_INSNS, TRAMPOLINE_SIZE) Update macro. - * doc/contrib.texi: Add my entry. + * config/score/score.md : Update pattern tablejump. + * config/score/score.c : Update score_initialize_trampoline + function. + * config/score/score.h (TRAMPOLINE_TEMPLATE): Added macro. + (TRAMPOLINE_INSNS, TRAMPOLINE_SIZE) Update macro. + * doc/contrib.texi: Add my entry. 2007-08-16 H.J. Lu <hongjiu.lu@intel.com> @@ -1350,7 +1355,7 @@ * config/mips/mips.md: Update after above changes. 2007-08-08 Vladimir Yanovsky <yanov@il.ibm.com> - Revital Eres <eres@il.ibm.com> + Revital Eres <eres@il.ibm.com> * ddg.c (print_ddg): Add dump information. * modulo-sched.c (print_node_sched_params): Add parameter and diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 18cc5c80dd43..190ff69a7c4e 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1899,7 +1899,11 @@ gcc-options.o: options.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) opts.h intl dumpvers: dumpvers.c +ifdef REVISION_s version.o: version.c version.h $(REVISION) $(DATESTAMP) $(BASEVER) $(DEVPHASE) +else +version.o: version.c version.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) +endif $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \ -DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \ -DREVISION=$(REVISION_s) \ -- GitLab