[COMMITTED,1/2] gcc: xtensa: rename xtensa-dynconfig.c and update its build rule
Checks
Commit Message
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.
---
gcc/config/xtensa/t-xtensa | 7 +++----
.../xtensa/{xtensa-dynconfig.c => xtensa-dynconfig.cc} | 0
2 files changed, 3 insertions(+), 4 deletions(-)
rename gcc/config/xtensa/{xtensa-dynconfig.c => xtensa-dynconfig.cc} (100%)
@@ -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)
similarity index 100%
rename from gcc/config/xtensa/xtensa-dynconfig.c
rename to gcc/config/xtensa/xtensa-dynconfig.cc