|
@@ -197,6 +197,12 @@ $(error When compiling for mipsel-embedded, a sub-architecture (e.g. SUBARCH=pic
|
|
endif
|
|
endif
|
|
override FPCOPT+=-Cp$(SUBARCH)
|
|
override FPCOPT+=-Cp$(SUBARCH)
|
|
endif
|
|
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)),)
|
|
ifneq ($(findstring $(OS_SOURCE),$(LIMIT83fs)),)
|
|
TARGETSUFFIX=$(OS_TARGET)
|
|
TARGETSUFFIX=$(OS_TARGET)
|
|
SOURCESUFFIX=$(OS_SOURCE)
|
|
SOURCESUFFIX=$(OS_SOURCE)
|
|
@@ -498,8 +504,10 @@ endif
|
|
endif
|
|
endif
|
|
ifeq ($(ARCH),xtensa)
|
|
ifeq ($(ARCH),xtensa)
|
|
CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
|
CPU_SPECIFIC_COMMON_UNITS=sysutils math classes fgl macpas typinfo types rtlconsts getopts lineinfo
|
|
|
|
+ifeq ($(SUBARCH),lx106)
|
|
CPU_UNITS=esp8266
|
|
CPU_UNITS=esp8266
|
|
CPU_UNITS_DEFINED=1
|
|
CPU_UNITS_DEFINED=1
|
|
|
|
+endif
|
|
ifeq ($(CPU_UNITS_DEFINED),)
|
|
ifeq ($(CPU_UNITS_DEFINED),)
|
|
$(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNITS_DEFINED=1 if you know what you are doing)
|
|
$(error No CPUs enabled for given SUBARCH, pass either a SUBARCH or set CPU_UNITS_DEFINED=1 if you know what you are doing)
|
|
endif
|
|
endif
|