Fix z80-embedded target

This commit is contained in:
Pierre Muller 2023-08-10 22:40:11 +00:00
parent b8f8a1dd1f
commit 2d42040b1d
3 changed files with 16 additions and 0 deletions

View File

@ -1013,6 +1013,10 @@ ifeq ($(ARCH),i8086)
override FPCOPT+=@rtl.cfg
CPU_SPECIFIC_COMMON_UNITS=
endif
ifeq ($(ARCH),z80)
override FPCOPT+=@rtl.cfg
CPU_SPECIFIC_COMMON_UNITS=
endif
ifeq ($(ARCH),x86_64)
endif
ifeq ($(ARCH),m68k)

View File

@ -198,6 +198,12 @@ override FPCOPT+=@rtl.cfg
CPU_SPECIFIC_COMMON_UNITS=
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)
# CPU_UNITS=$(MULTIBOOTUNIT)
endif

View File

@ -9,3 +9,9 @@
-CX
-XX
#endif
# Use same options for z80 CPU
#ifdef CPUZ80
-Cs2048
-CX
-XX
#endif