public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-6311] gcc: xtensa: rename xtensa-dynconfig.c and update its build rule
@ 2023-02-23 23:58 Max Filippov
  0 siblings, 0 replies; only message in thread
From: Max Filippov @ 2023-02-23 23:58 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:84d340f958ff320d2355f693701455d08a1818cd

commit r13-6311-g84d340f958ff320d2355f693701455d08a1818cd
Author: Max Filippov <jcmvbkbc@gmail.com>
Date:   Thu Feb 23 15:43:48 2023 -0800

    gcc: xtensa: rename xtensa-dynconfig.c and update its build rule
    
    gcc/
            * config/xtensa/t-xtensa (xtensa-dynconfig.o): Use $(COMPILE)
            and $(POSTCOMPILE) instead of manual dependency listing.
            * config/xtensa/xtensa-dynconfig.c: Rename to ...
            * config/xtensa/xtensa-dynconfig.cc: ... this.

Diff:
---
 gcc/config/xtensa/t-xtensa                                    | 7 +++----
 gcc/config/xtensa/{xtensa-dynconfig.c => xtensa-dynconfig.cc} | 0
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/gcc/config/xtensa/t-xtensa b/gcc/config/xtensa/t-xtensa
index d95bd6f1546..cf6574be035 100644
--- a/gcc/config/xtensa/t-xtensa
+++ b/gcc/config/xtensa/t-xtensa
@@ -20,7 +20,6 @@ TM_H += $(srcdir)/../include/xtensa-config.h \
 	$(srcdir)/../include/xtensa-dynconfig.h
 $(out_object_file): gt-xtensa.h
 
-xtensa-dynconfig.o: $(srcdir)/config/xtensa/xtensa-dynconfig.c \
-  $(CONFIG_H) $(SYSTEM_H) $(srcdir)/../include/xtensa-dynconfig.h \
-  $(srcdir)/../include/xtensa-config.h
-	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $<
+xtensa-dynconfig.o: $(srcdir)/config/xtensa/xtensa-dynconfig.cc
+	$(COMPILE) $<
+	$(POSTCOMPILE)
diff --git a/gcc/config/xtensa/xtensa-dynconfig.c b/gcc/config/xtensa/xtensa-dynconfig.cc
similarity index 100%
rename from gcc/config/xtensa/xtensa-dynconfig.c
rename to gcc/config/xtensa/xtensa-dynconfig.cc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-23 23:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-23 23:58 [gcc r13-6311] gcc: xtensa: rename xtensa-dynconfig.c and update its build rule Max Filippov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).