diff options
Diffstat (limited to 'libgcc/config/avr/libf7')
-rw-r--r-- | libgcc/config/avr/libf7/ChangeLog | 5 | ||||
-rw-r--r-- | libgcc/config/avr/libf7/t-libf7 | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libgcc/config/avr/libf7/ChangeLog b/libgcc/config/avr/libf7/ChangeLog index d9e3fbe..1b8a29a 100644 --- a/libgcc/config/avr/libf7/ChangeLog +++ b/libgcc/config/avr/libf7/ChangeLog @@ -1,3 +1,8 @@ +2025-03-22 Georg-Johann Lay <avr@gjlay.de> + + * t-libf7 (libgcc-objects): Only add objects when building + for non-AVRrc. + 2024-11-16 Georg-Johann Lay <avr@gjlay.de> * libf7.h (bool, true, false): Don't define in C23 or higher. diff --git a/libgcc/config/avr/libf7/t-libf7 b/libgcc/config/avr/libf7/t-libf7 index f17e67e8..9ec70d8 100644 --- a/libgcc/config/avr/libf7/t-libf7 +++ b/libgcc/config/avr/libf7/t-libf7 @@ -127,7 +127,9 @@ iter-labels := $(f7_parts) -include $(patsubst %,$(libf7)/libf7-c-object.mk,$(iter-items)) +ifeq (,$(findstring avrtiny,$(MULTIDIR))) libgcc-objects += $(patsubst %,f7_c_%$(objext),$(F7_C_PARTS)) +endif # Build the libf7 ASM objects and add them to libgcc.a. @@ -138,7 +140,9 @@ iter-labels := $(f7_parts) -include $(patsubst %,$(libf7)/libf7-asm-object.mk,$(iter-items)) +ifeq (,$(findstring avrtiny,$(MULTIDIR))) libgcc-objects += $(patsubst %,f7_asm_%$(objext),$(F7_ASM_PARTS)) +endif .PHONY: clean-f7 |