mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-09 10:38:31 +02:00
+ take care of OPTNEW when building utils
git-svn-id: trunk@44866 -
This commit is contained in:
parent
6636f3f0dc
commit
c96a3cc9d1
@ -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
|
||||||
|
@ -25,6 +25,11 @@ fpcdir=../..
|
|||||||
[shared]
|
[shared]
|
||||||
build=n
|
build=n
|
||||||
|
|
||||||
|
[prerules]
|
||||||
|
ifdef OPTNEW
|
||||||
|
override FPCOPT+=$(OPTNEW)
|
||||||
|
endif
|
||||||
|
|
||||||
[rules]
|
[rules]
|
||||||
#
|
#
|
||||||
# PPU Tools
|
# PPU Tools
|
||||||
|
Loading…
Reference in New Issue
Block a user