mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-15 10:09:15 +02:00
Fix z80-embedded target
This commit is contained in:
parent
b8f8a1dd1f
commit
2d42040b1d
@ -1013,6 +1013,10 @@ ifeq ($(ARCH),i8086)
|
|||||||
override FPCOPT+=@rtl.cfg
|
override FPCOPT+=@rtl.cfg
|
||||||
CPU_SPECIFIC_COMMON_UNITS=
|
CPU_SPECIFIC_COMMON_UNITS=
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(ARCH),z80)
|
||||||
|
override FPCOPT+=@rtl.cfg
|
||||||
|
CPU_SPECIFIC_COMMON_UNITS=
|
||||||
|
endif
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
endif
|
endif
|
||||||
ifeq ($(ARCH),m68k)
|
ifeq ($(ARCH),m68k)
|
||||||
|
@ -198,6 +198,12 @@ override FPCOPT+=@rtl.cfg
|
|||||||
CPU_SPECIFIC_COMMON_UNITS=
|
CPU_SPECIFIC_COMMON_UNITS=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(ARCH),z80)
|
||||||
|
# Always include rtl.cfg config file for z80
|
||||||
|
override FPCOPT+=@rtl.cfg
|
||||||
|
CPU_SPECIFIC_COMMON_UNITS=
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(ARCH),x86_64)
|
ifeq ($(ARCH),x86_64)
|
||||||
# CPU_UNITS=$(MULTIBOOTUNIT)
|
# CPU_UNITS=$(MULTIBOOTUNIT)
|
||||||
endif
|
endif
|
||||||
|
@ -9,3 +9,9 @@
|
|||||||
-CX
|
-CX
|
||||||
-XX
|
-XX
|
||||||
#endif
|
#endif
|
||||||
|
# Use same options for z80 CPU
|
||||||
|
#ifdef CPUZ80
|
||||||
|
-Cs2048
|
||||||
|
-CX
|
||||||
|
-XX
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user