mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-27 05:13:01 +02:00
* xtensa-freertos requires also SUBARCH being set
git-svn-id: trunk@44870 -
This commit is contained in:
parent
be50c77f34
commit
0750fdf410
@ -295,6 +295,13 @@ endif
|
||||
override FPCOPT+=-Cp$(SUBARCH)
|
||||
endif
|
||||
|
||||
ifeq ($(FULL_TARGET),xtensa-freertos)
|
||||
ifeq ($(SUBARCH),)
|
||||
$(error When compiling for xtensa-freertos, a sub-architecture (e.g. SUBARCH=lx106 or SUBARCH=lx6) must be defined)
|
||||
endif
|
||||
override FPCOPT+=-Cp$(SUBARCH)
|
||||
endif
|
||||
|
||||
# Full name of the target, including CPU and OS. For OSs limited
|
||||
# to 8.3 we only use the target OS
|
||||
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
||||
|
Loading…
Reference in New Issue
Block a user