mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 16:49:00 +02:00
Added AVR support to fpc and root Makefile.
Rebuilt root Makefile. git-svn-id: trunk@26944 -
This commit is contained in:
parent
2227045e23
commit
7fdb125356
3
Makefile
3
Makefile
@ -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
|
||||
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)
|
||||
|
@ -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+'"');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user