Added AVR support to fpc and root Makefile.

Rebuilt root Makefile.

git-svn-id: trunk@26944 -
This commit is contained in:
Jeppe Johansen 2014-03-04 08:02:10 +00:00
parent 2227045e23
commit 7fdb125356
3 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -76,6 +76,9 @@ endif
ifeq ($(CPU_TARGET),i8086)
PPSUF=8086
endif
ifeq ($(CPU_TARGET),avr)
PPSUF=avr
endif
# cross compilers uses full cpu_target, not just ppc-suffix
# (except if the target cannot run a native compiler)

View File

@ -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+'"');