|
@@ -202,6 +202,12 @@ $(error When compiling for xtensa-embedded, a sub-architecture (e.g. SUBARCH=lx1
|
|
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)
|
|
@@ -335,6 +341,9 @@ FPMAKE_SKIP_CONFIG=-n
|
|
FPCFPMAKE=$(FPC)
|
|
FPCFPMAKE=$(FPC)
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
+ifdef OPTNEW
|
|
|
|
+override FPCOPT+=$(OPTNEW)
|
|
|
|
+endif
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
ifeq ($(FULL_TARGET),i386-linux)
|
|
override TARGET_PROGRAMS+=fpc ppufiles ppudump ppumove mka64ins mkarmins mkx86ins
|
|
override TARGET_PROGRAMS+=fpc ppufiles ppudump ppumove mka64ins mkarmins mkx86ins
|
|
endif
|
|
endif
|