|
@@ -373,6 +373,9 @@ endif
|
|
ifeq ($(SUBARCH),armv7a)
|
|
ifeq ($(SUBARCH),armv7a)
|
|
CPU_UNITS=allwinner_a20
|
|
CPU_UNITS=allwinner_a20
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(CPU_UNITS),)
|
|
|
|
+$(error Invalid value set for SUBARCH)
|
|
|
|
+endif
|
|
endif
|
|
endif
|
|
ifeq ($(ARCH),avr)
|
|
ifeq ($(ARCH),avr)
|
|
ifeq ($(SUBARCH),avr25)
|
|
ifeq ($(SUBARCH),avr25)
|
|
@@ -407,16 +410,25 @@ endif
|
|
ifeq ($(SUBARCH),avr6)
|
|
ifeq ($(SUBARCH),avr6)
|
|
CPU_UNITS=atmega2561 atmega2560
|
|
CPU_UNITS=atmega2561 atmega2560
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(CPU_UNITS),)
|
|
|
|
+$(error Invalid value set for SUBARCH)
|
|
|
|
+endif
|
|
endif
|
|
endif
|
|
ifeq ($(ARCH),i386)
|
|
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 macpas typinfo types rtlconsts getopts lineinfo
|
|
CPU_UNITS=multiboot
|
|
CPU_UNITS=multiboot
|
|
|
|
+ifeq ($(CPU_UNITS),)
|
|
|
|
+$(error Invalid value set for SUBARCH)
|
|
|
|
+endif
|
|
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
|
|
ifeq ($(SUBARCH),pic32mx)
|
|
ifeq ($(SUBARCH),pic32mx)
|
|
CPU_UNITS=pic32mx1xxfxxxb pic32mx2xxfxxxb pic32mx1xxfxxxc pic32mx2xxfxxxc pic32mx1xxfxxxd pic32mx2xxfxxxd pic32mx7x5fxxxl pic32mx7x5fxxxh
|
|
CPU_UNITS=pic32mx1xxfxxxb pic32mx2xxfxxxb pic32mx1xxfxxxc pic32mx2xxfxxxc pic32mx1xxfxxxd pic32mx2xxfxxxd pic32mx7x5fxxxl pic32mx7x5fxxxh
|
|
endif
|
|
endif
|
|
|
|
+ifeq ($(CPU_UNITS),)
|
|
|
|
+$(error Invalid value set for SUBARCH)
|
|
|
|
+endif
|
|
endif
|
|
endif
|
|
OBJPASDIR=$(RTL)/objpas
|
|
OBJPASDIR=$(RTL)/objpas
|
|
GRAPHDIR=$(INC)/graph
|
|
GRAPHDIR=$(INC)/graph
|