Pārlūkot izejas kodu

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

Pierre Muller 2 gadi atpakaļ
vecāks
revīzija
31c225f6b5
3 mainītis faili ar 3 papildinājumiem un 5 dzēšanām
  1. 1 1
      rtl/embedded/Makefile
  2. 1 1
      rtl/embedded/Makefile.fpc
  3. 1 3
      rtl/embedded/system.cfg

+ 1 - 1
rtl/embedded/Makefile

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

+ 1 - 1
rtl/embedded/Makefile.fpc

@@ -192,7 +192,7 @@ CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlcons
 endif
 endif
 
 
 ifeq ($(ARCH),m68k)
 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
 # CPU_UNITS=multiboot
 endif
 endif
 
 

+ 1 - 3
rtl/embedded/system.cfg

@@ -203,9 +203,7 @@
 #endif
 #endif
 #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
 #ifdef CPUM68K
 -SfSOFTFPU
 -SfSOFTFPU
 -SfOBJECTS
 -SfOBJECTS