@@ -370,6 +370,9 @@ endif
ifeq ($(CPU_TARGET),i8086)
PPSUF=8086
endif
+ifeq ($(CPU_TARGET),avr)
+PPSUF=avr
+endif
ifdef CROSSCOMPILE
ifneq ($(CPU_TARGET),jvm)
PPPRE=ppcross
@@ -76,6 +76,9 @@ endif
# cross compilers uses full cpu_target, not just ppc-suffix
# (except if the target cannot run a native compiler)
@@ -228,6 +228,8 @@ program fpc;
cpusuffix:='jvm'
else if processorstr='i8086' then
cpusuffix:='8086'
+ else if processorstr='avr' then
+ cpusuffix:='avr'
else
error('Illegal processor type "'+processorstr+'"');