Browse Source

Set CPU_SPECIFIC_COMMON_UNITS to only intrinsics unit for avr CPU

Pierre Muller 2 days ago
parent
commit
180cc4fa3f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      rtl/embedded/Makefile
  2. 1 1
      rtl/embedded/Makefile.fpc

+ 1 - 1
rtl/embedded/Makefile

@@ -976,7 +976,7 @@ $(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNIT
 endif
 endif
 ifeq ($(ARCH),avr)
-CPU_SPECIFIC_COMMON_UNITS+=$(INTRINSICSUNIT)
+CPU_SPECIFIC_COMMON_UNITS=$(INTRINSICSUNIT)
 ifeq ($(SUBARCH),avrtiny)
 CPU_UNITS=attiny4 attiny5 attiny9 attiny10 attiny20 attiny40 attiny102 attiny104
 CPU_UNITS_DEFINED=1

+ 1 - 1
rtl/embedded/Makefile.fpc

@@ -110,7 +110,7 @@ endif
 endif
 
 ifeq ($(ARCH),avr)
-CPU_SPECIFIC_COMMON_UNITS+=$(INTRINSICSUNIT)
+CPU_SPECIFIC_COMMON_UNITS=$(INTRINSICSUNIT)
 ifeq ($(SUBARCH),avrtiny)
 CPU_UNITS=attiny4 attiny5 attiny9 attiny10 attiny20 attiny40 attiny102 attiny104
 CPU_UNITS_DEFINED=1