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