I use AVR-eclipse plugin to build and upload Arduino sketches. I use this nice guide to configure it:
https://playground.arduino.cc/Code/Eclipse#Installation
Eclipse version: 4.4.2
AVR-eclipse plugin version: 2.4.1
I don't use precompiled core lib from Arduino IDE, but include all necessary core sources as "external sources" in Eclipse and compile core along with my sources.
Everything compiled OK, but I have following warning in build log:
arduino/subdir.mk:258: warning: overriding recipe for target 'arduino/wiring_pulse.o'
arduino/subdir.mk:251: warning: ignoring old recipe for target 'arduino/wiring_pulse.o'
in mentioned subdir.mk, I have
arduino/wiring_pulse.o: /usr/share/arduino/hardware/arduino/avr/cores/arduino/wiring_pulse.S
@echo 'Building file: $<'
@echo 'Invoking: AVR Assembler'
....................................
arduino/wiring_pulse.o: /usr/share/arduino/hardware/arduino/avr/cores/arduino/wiring_pulse.c
@echo 'Building file: $<'
@echo 'Invoking: AVR Compiler'
....................................
i.e. I have same targets for wiring_pulse.S and wiring_pulse.c from Arduino core. Obviously first one is ignored and does not get into resulting binary.
Question: is it possible to configure AVR-eclipse plugin so, that it will preserve source files extensions (like it does Arduino IDE), so that i get targets like
arduino/wiring_pulse.S.o: /usr/share/arduino/hardware/arduino/avr/cores/arduino/wiring_pulse.S
.....
arduino/wiring_pulse.c.o: /usr/share/arduino/hardware/arduino/avr/cores/arduino/wiring_pulse.c
.....