2
0
Эх сурвалжийг харах

* arm-embedded requires sub-arch to be passed

git-svn-id: trunk@18845 -
florian 14 жил өмнө
parent
commit
8eafefc90f
2 өөрчлөгдсөн 198 нэмэгдсэн , 182 устгасан
  1. 189 180
      utils/fpcm/fpcmake.inc
  2. 9 2
      utils/fpcm/fpcmake.ini

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 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)),)

Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно