|
@@ -13,7 +13,7 @@ loaders=$(LOADERS)
|
|
|
# the common units which are not compiled for all CPUs are stored in
|
|
|
# CPU_SPECIFIC_COMMON_UNITS
|
|
|
units=$(SYSTEMUNIT) $(CPU_UNITS) uuchar objpas iso7185 extpas heapmgr consoleio $(CPU_SPECIFIC_COMMON_UNITS) \
|
|
|
-# macpas iso7185 strings
|
|
|
+# $(MACPASUNIT) iso7185 strings
|
|
|
$(STRINGSUNIT) \
|
|
|
$(SORTBASEUNIT) \
|
|
|
$(DOSUNIT) \
|
|
@@ -77,7 +77,7 @@ DOSDIR=.
|
|
|
DOS_DEPS_OS=objpas$(PPUEXT)
|
|
|
|
|
|
ifeq ($(ARCH),arm)
|
|
|
-CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
|
|
+CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl $(MACPASUNIT) typinfo types rtlconsts getopts lineinfo
|
|
|
ifeq ($(SUBARCH),armv7m)
|
|
|
CPU_UNITS=stm32f103xe cortexm3 cortexm4 # thumb2_bare
|
|
|
CPU_UNITS_DEFINED=1
|
|
@@ -179,7 +179,7 @@ endif
|
|
|
endif
|
|
|
|
|
|
ifeq ($(ARCH),i386)
|
|
|
-CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
|
|
+CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl $(MACPASUNIT) typinfo types rtlconsts getopts lineinfo
|
|
|
CPU_UNITS=multiboot
|
|
|
CPU_UNITS_DEFINED=1
|
|
|
ifeq ($(CPU_UNITS_DEFINED),)
|
|
@@ -188,7 +188,7 @@ endif
|
|
|
endif
|
|
|
|
|
|
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 $(MACPASUNIT) typinfo types rtlconsts getopts lineinfo
|
|
|
# CPU_UNITS=multiboot
|
|
|
endif
|
|
|
|
|
@@ -198,7 +198,7 @@ CPU_SPECIFIC_COMMON_UNITS=sysutils math
|
|
|
endif
|
|
|
|
|
|
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 $(MACPASUNIT) typinfo types rtlconsts getopts lineinfo
|
|
|
ifeq ($(SUBARCH),pic32mx)
|
|
|
CPU_UNITS=pic32mx1xxfxxxb pic32mx2xxfxxxb pic32mx1xxfxxxc pic32mx2xxfxxxc pic32mx1xxfxxxd pic32mx2xxfxxxd pic32mx7x5fxxxl pic32mx7x5fxxxh
|
|
|
CPU_UNITS_DEFINED=1
|
|
@@ -209,7 +209,7 @@ endif
|
|
|
endif
|
|
|
|
|
|
ifeq ($(ARCH),riscv32)
|
|
|
-CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
|
|
+CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl $(MACPASUNIT) typinfo types rtlconsts getopts lineinfo
|
|
|
ifeq ($(SUBARCH),rv32imc)
|
|
|
override FPCOPT+=-Cprv32imc
|
|
|
CPU_UNITS=esp32c3 esp32c3idf_50000
|
|
@@ -221,7 +221,7 @@ endif
|
|
|
endif
|
|
|
|
|
|
ifeq ($(ARCH),riscv64)
|
|
|
-CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
|
|
+CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl $(MACPASUNIT) typinfo types rtlconsts getopts lineinfo
|
|
|
CPU_UNITS=
|
|
|
CPU_UNITS_DEFINED=1
|
|
|
ifeq ($(CPU_UNITS_DEFINED),)
|
|
@@ -230,7 +230,7 @@ endif
|
|
|
endif
|
|
|
|
|
|
ifeq ($(ARCH),xtensa)
|
|
|
-CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
|
|
+CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl $(MACPASUNIT) typinfo types rtlconsts getopts lineinfo
|
|
|
ifeq ($(SUBARCH),lx6)
|
|
|
CPU_UNITS=esp32 espidf_40100 espidf_40200 espidf_40400
|
|
|
CPU_UNITS_DEFINED=1
|