|
@@ -196,6 +196,12 @@ $(error When compiling for mipsel-embedded, a sub-architecture (e.g. SUBARCH=pic
|
|
|
endif
|
|
|
override FPCOPT+=-Cp$(SUBARCH)
|
|
|
endif
|
|
|
+ifeq ($(FULL_TARGET),xtensa-embedded)
|
|
|
+ifeq ($(SUBARCH),)
|
|
|
+$(error When compiling for xtensa-embedded, a sub-architecture (e.g. SUBARCH=lx106 or SUBARCH=lx6) must be defined)
|
|
|
+endif
|
|
|
+override FPCOPT+=-Cp$(SUBARCH)
|
|
|
+endif
|
|
|
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
|
|
TARGETSUFFIX=$(OS_TARGET)
|
|
|
SOURCESUFFIX=$(OS_SOURCE)
|
|
@@ -2901,7 +2907,6 @@ makefiles: fpc_makefiles
|
|
|
ifneq ($(wildcard fpcmake.loc),)
|
|
|
include fpcmake.loc
|
|
|
endif
|
|
|
-.NOTPARALLEL:
|
|
|
unexport FPC_VERSION FPC_COMPILERINFO OS_SOURCE
|
|
|
override TARGET_DIRS:=$(wildcard $(TARGET_DIRS))
|
|
|
.PHONY: help
|