Pārlūkot izejas kodu

* xtensa-freertos requires also SUBARCH being set

git-svn-id: trunk@44870 -
florian 5 gadi atpakaļ
vecāks
revīzija
0750fdf410
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. 7 0
      utils/fpcm/fpcmake.ini

+ 7 - 0
utils/fpcm/fpcmake.ini

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