mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 23:59:31 +02:00
* complain no matching SUBARCH value is passed, issue #29177
git-svn-id: trunk@32649 -
This commit is contained in:
parent
5cfdd8fbf5
commit
7b9a257549
@ -373,6 +373,9 @@ endif
|
||||
ifeq ($(SUBARCH),armv7a)
|
||||
CPU_UNITS=allwinner_a20
|
||||
endif
|
||||
ifeq ($(CPU_UNITS),)
|
||||
$(error Invalid value set for SUBARCH)
|
||||
endif
|
||||
endif
|
||||
ifeq ($(ARCH),avr)
|
||||
ifeq ($(SUBARCH),avr25)
|
||||
@ -407,16 +410,25 @@ endif
|
||||
ifeq ($(SUBARCH),avr6)
|
||||
CPU_UNITS=atmega2561 atmega2560
|
||||
endif
|
||||
ifeq ($(CPU_UNITS),)
|
||||
$(error Invalid value set for SUBARCH)
|
||||
endif
|
||||
endif
|
||||
ifeq ($(ARCH),i386)
|
||||
CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
||||
CPU_UNITS=multiboot
|
||||
ifeq ($(CPU_UNITS),)
|
||||
$(error Invalid value set for SUBARCH)
|
||||
endif
|
||||
endif
|
||||
ifeq ($(ARCH),mipsel)
|
||||
CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
||||
ifeq ($(SUBARCH),pic32mx)
|
||||
CPU_UNITS=pic32mx1xxfxxxb pic32mx2xxfxxxb pic32mx1xxfxxxc pic32mx2xxfxxxc pic32mx1xxfxxxd pic32mx2xxfxxxd pic32mx7x5fxxxl pic32mx7x5fxxxh
|
||||
endif
|
||||
ifeq ($(CPU_UNITS),)
|
||||
$(error Invalid value set for SUBARCH)
|
||||
endif
|
||||
endif
|
||||
OBJPASDIR=$(RTL)/objpas
|
||||
GRAPHDIR=$(INC)/graph
|
||||
|
@ -81,6 +81,9 @@ endif
|
||||
ifeq ($(SUBARCH),armv7a)
|
||||
CPU_UNITS=allwinner_a20
|
||||
endif
|
||||
ifeq ($(CPU_UNITS),)
|
||||
$(error Invalid value set for SUBARCH)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),avr)
|
||||
@ -116,11 +119,17 @@ endif
|
||||
ifeq ($(SUBARCH),avr6)
|
||||
CPU_UNITS=atmega2561 atmega2560
|
||||
endif
|
||||
ifeq ($(CPU_UNITS),)
|
||||
$(error Invalid value set for SUBARCH)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),i386)
|
||||
CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
||||
CPU_UNITS=multiboot
|
||||
ifeq ($(CPU_UNITS),)
|
||||
$(error Invalid value set for SUBARCH)
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(ARCH),mipsel)
|
||||
@ -128,6 +137,9 @@ CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlcons
|
||||
ifeq ($(SUBARCH),pic32mx)
|
||||
CPU_UNITS=pic32mx1xxfxxxb pic32mx2xxfxxxb pic32mx1xxfxxxc pic32mx2xxfxxxc pic32mx1xxfxxxd pic32mx2xxfxxxd pic32mx7x5fxxxl pic32mx7x5fxxxh
|
||||
endif
|
||||
ifeq ($(CPU_UNITS),)
|
||||
$(error Invalid value set for SUBARCH)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Paths
|
||||
|
Loading…
Reference in New Issue
Block a user