瀏覽代碼

* arm-embedded requires sub-arch to be passed

git-svn-id: trunk@18845 -
florian 14 年之前
父節點
當前提交
8eafefc90f
共有 2 個文件被更改,包括 198 次插入182 次删除
  1. 189 180
      utils/fpcm/fpcmake.inc
  2. 9 2
      utils/fpcm/fpcmake.ini

File diff suppressed because it is too large
+ 189 - 180
utils/fpcm/fpcmake.inc


+ 9 - 2
utils/fpcm/fpcmake.ini

@@ -272,6 +272,15 @@ ARCH=$(CPU_TARGET)
 endif
 endif
 
+ifeq ($(CPU_TARGET),arm)
+ifeq ($(OS_TARGET),embedded)
+ifeq ($(SUBARCH),)
+# we don't add a default here, people should explicitly add the SUBARCH
+$(error When compiling for arm-embedded, a sub-architecture (e.g. SUBARCH=arm7 or SUBARCH=cortexm3) must be defined)
+endif
+endif
+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)),)
@@ -1024,8 +1033,6 @@ SHAREDLIBEXT=.so
 SHORTSUFFIX=wii
 endif
 
-endif
-
 # For 8.3 limited OS's the short suffixes
 # Otherwise use the full source/target names
 ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)

Some files were not shown because too many files changed in this diff