public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Max Filippov <jcmvbkbc@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r13-6311] gcc: xtensa: rename xtensa-dynconfig.c and update its build rule
Date: Thu, 23 Feb 2023 23:58:58 +0000 (GMT)	[thread overview]
Message-ID: <20230223235858.B08EE3858C00@sourceware.org> (raw)

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

                 reply	other threads:[~2023-02-23 23:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230223235858.B08EE3858C00@sourceware.org \
    --to=jcmvbkbc@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).