Change m68k-embedded target to handle standard RTL units as most other CPUs do (fixes compilation failure in utils/h2pas package)

This commit is contained in:
Pierre Muller 2023-05-20 09:32:15 +00:00
parent a6b01f2b20
commit 31c225f6b5
3 changed files with 3 additions and 5 deletions

View File

@ -491,7 +491,7 @@ ifeq ($(ARCH),x86_64)
CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
endif
ifeq ($(ARCH),m68k)
CPU_SPECIFIC_COMMON_UNITS=sysutils math
CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
endif
ifeq ($(ARCH),mipsel)
CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo

View File

@ -192,7 +192,7 @@ CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlcons
endif
ifeq ($(ARCH),m68k)
CPU_SPECIFIC_COMMON_UNITS=sysutils math
CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
# CPU_UNITS=multiboot
endif

View File

@ -203,9 +203,7 @@
#endif
#endif
# Minimal set for m68k, copied from AVR above
# does not require extra memory, neither code nor data
# in programs not using e. g. writeln based I/O
# m68k is powerful enough to handle most object pascal constructs
#ifdef CPUM68K
-SfSOFTFPU
-SfOBJECTS