浏览代码

* xtensa-freertos requires also SUBARCH being set

git-svn-id: trunk@44870 -
florian 5 年之前
父节点
当前提交
0750fdf410
共有 1 个文件被更改,包括 7 次插入0 次删除
  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)),)