mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-09 00:58:33 +02:00
Remove SUBARCH refering to non-existing units for arm-freertos target
This commit is contained in:
parent
4b5e5f0ddb
commit
a5cb0b6179
@ -908,22 +908,10 @@ ifeq ($(SUBARCH),armv7em)
|
|||||||
CPU_UNITS=stm32f401xe cortexm3 cortexm4 cortexm7 # thumb2_bare
|
CPU_UNITS=stm32f401xe cortexm3 cortexm4 cortexm7 # thumb2_bare
|
||||||
CPU_UNITS_DEFINED=1
|
CPU_UNITS_DEFINED=1
|
||||||
endif
|
endif
|
||||||
ifeq ($(SUBARCH),armv4t)
|
|
||||||
CPU_UNITS=lpc21x4 at91sam7x256 sc32442b
|
|
||||||
CPU_UNITS_DEFINED=1
|
|
||||||
endif
|
|
||||||
ifeq ($(SUBARCH),armv4)
|
|
||||||
CPU_UNITS=lpc21x4 at91sam7x256 sc32442b
|
|
||||||
CPU_UNITS_DEFINED=1
|
|
||||||
endif
|
|
||||||
ifeq ($(SUBARCH),armv6m)
|
ifeq ($(SUBARCH),armv6m)
|
||||||
CPU_UNITS=stm32g071xx cortexm0
|
CPU_UNITS=stm32g071xx cortexm0
|
||||||
CPU_UNITS_DEFINED=1
|
CPU_UNITS_DEFINED=1
|
||||||
endif
|
endif
|
||||||
ifeq ($(SUBARCH),armv7a)
|
|
||||||
CPU_UNITS=allwinner_a20 raspi2
|
|
||||||
CPU_UNITS_DEFINED=1
|
|
||||||
endif
|
|
||||||
ifeq ($(CPU_UNITS_DEFINED),)
|
ifeq ($(CPU_UNITS_DEFINED),)
|
||||||
$(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNITS_DEFINED=1 if you know what you are doing)
|
$(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNITS_DEFINED=1 if you know what you are doing)
|
||||||
endif
|
endif
|
||||||
|
@ -69,22 +69,10 @@ ifeq ($(SUBARCH),armv7em)
|
|||||||
CPU_UNITS=stm32f401xe cortexm3 cortexm4 cortexm7 # thumb2_bare
|
CPU_UNITS=stm32f401xe cortexm3 cortexm4 cortexm7 # thumb2_bare
|
||||||
CPU_UNITS_DEFINED=1
|
CPU_UNITS_DEFINED=1
|
||||||
endif
|
endif
|
||||||
ifeq ($(SUBARCH),armv4t)
|
|
||||||
CPU_UNITS=lpc21x4 at91sam7x256 sc32442b
|
|
||||||
CPU_UNITS_DEFINED=1
|
|
||||||
endif
|
|
||||||
ifeq ($(SUBARCH),armv4)
|
|
||||||
CPU_UNITS=lpc21x4 at91sam7x256 sc32442b
|
|
||||||
CPU_UNITS_DEFINED=1
|
|
||||||
endif
|
|
||||||
ifeq ($(SUBARCH),armv6m)
|
ifeq ($(SUBARCH),armv6m)
|
||||||
CPU_UNITS=stm32g071xx cortexm0
|
CPU_UNITS=stm32g071xx cortexm0
|
||||||
CPU_UNITS_DEFINED=1
|
CPU_UNITS_DEFINED=1
|
||||||
endif
|
endif
|
||||||
ifeq ($(SUBARCH),armv7a)
|
|
||||||
CPU_UNITS=allwinner_a20 raspi2
|
|
||||||
CPU_UNITS_DEFINED=1
|
|
||||||
endif
|
|
||||||
ifeq ($(CPU_UNITS_DEFINED),)
|
ifeq ($(CPU_UNITS_DEFINED),)
|
||||||
$(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNITS_DEFINED=1 if you know what you are doing)
|
$(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNITS_DEFINED=1 if you know what you are doing)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user