* xtensa-freertos requires also SUBARCH being set

git-svn-id: trunk@44870 -
This commit is contained in:
florian 2020-04-19 20:59:50 +00:00
parent be50c77f34
commit 0750fdf410

View File

@ -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)),)