mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-13 11:39:24 +02:00
* allow disabling the wpo cycle with NOWPOCYCLE=1
git-svn-id: trunk@13572 -
This commit is contained in:
parent
d3d3596cd6
commit
2eebadf944
@ -3342,7 +3342,9 @@ endif
|
|||||||
$(MOVE) $(COMPILER_TARGETDIR)/$(PPEXENAME) $(EXENAME)
|
$(MOVE) $(COMPILER_TARGETDIR)/$(PPEXENAME) $(EXENAME)
|
||||||
ifeq ($(CPU_SOURCE),$(PPC_TARGET))
|
ifeq ($(CPU_SOURCE),$(PPC_TARGET))
|
||||||
ifeq ($(OS_SOURCE),$(OS_TARGET))
|
ifeq ($(OS_SOURCE),$(OS_TARGET))
|
||||||
|
ifndef NOWPOCYCLE
|
||||||
ifdef RELEASE
|
ifdef RELEASE
|
||||||
|
DOWPOCYCLE=1
|
||||||
wpocycle:
|
wpocycle:
|
||||||
$(RM) $(EXENAME)
|
$(RM) $(EXENAME)
|
||||||
$(MAKE) 'FPC=$(BASEDIR)/$(TEMPNAME3)' 'OPT=$(LOCALOPT) $(OPTWPOCOLLECT)' compiler
|
$(MAKE) 'FPC=$(BASEDIR)/$(TEMPNAME3)' 'OPT=$(LOCALOPT) $(OPTWPOCOLLECT)' compiler
|
||||||
@ -3353,8 +3355,9 @@ wpocycle:
|
|||||||
$(MAKE) 'FPC=$(BASEDIR)/$(TEMPWPONAME1)' 'OPT=$(RTLOPT) $(subst pp1.wpo,pp2.wpo,$(OPTWPOPERFORM))' rtlclean rtl
|
$(MAKE) 'FPC=$(BASEDIR)/$(TEMPWPONAME1)' 'OPT=$(RTLOPT) $(subst pp1.wpo,pp2.wpo,$(OPTWPOPERFORM))' rtlclean rtl
|
||||||
$(MAKE) 'FPC=$(BASEDIR)/$(TEMPWPONAME1)' 'OPT=$(LOCALOPT) $(subst pp1.wpo,pp2.wpo,$(OPTWPOPERFORM))' $(addsuffix _clean,$(ALLTARGETS)) compiler
|
$(MAKE) 'FPC=$(BASEDIR)/$(TEMPWPONAME1)' 'OPT=$(LOCALOPT) $(subst pp1.wpo,pp2.wpo,$(OPTWPOPERFORM))' $(addsuffix _clean,$(ALLTARGETS)) compiler
|
||||||
$(COPY) $(EXENAME) $(TEMPWPONAME2)
|
$(COPY) $(EXENAME) $(TEMPWPONAME2)
|
||||||
$(MAKE) echotime
|
endif
|
||||||
else
|
endif
|
||||||
|
ifndef DOWPOCYCLE
|
||||||
wpocycle:
|
wpocycle:
|
||||||
endif
|
endif
|
||||||
ifdef DIFF
|
ifdef DIFF
|
||||||
|
@ -409,7 +409,9 @@ ifeq ($(OS_SOURCE),$(OS_TARGET))
|
|||||||
# Normal cycle
|
# Normal cycle
|
||||||
#
|
#
|
||||||
|
|
||||||
|
ifndef NOWPOCYCLE
|
||||||
ifdef RELEASE
|
ifdef RELEASE
|
||||||
|
DOWPOCYCLE=1
|
||||||
# Two WPO cycles in case of RELEASE=1
|
# Two WPO cycles in case of RELEASE=1
|
||||||
wpocycle:
|
wpocycle:
|
||||||
# don't use cycle_clean, it will delete the compiler utilities again
|
# don't use cycle_clean, it will delete the compiler utilities again
|
||||||
@ -422,12 +424,12 @@ wpocycle:
|
|||||||
$(MAKE) 'FPC=$(BASEDIR)/$(TEMPWPONAME1)' 'OPT=$(RTLOPT) $(subst pp1.wpo,pp2.wpo,$(OPTWPOPERFORM))' rtlclean rtl
|
$(MAKE) 'FPC=$(BASEDIR)/$(TEMPWPONAME1)' 'OPT=$(RTLOPT) $(subst pp1.wpo,pp2.wpo,$(OPTWPOPERFORM))' rtlclean rtl
|
||||||
$(MAKE) 'FPC=$(BASEDIR)/$(TEMPWPONAME1)' 'OPT=$(LOCALOPT) $(subst pp1.wpo,pp2.wpo,$(OPTWPOPERFORM))' $(addsuffix _clean,$(ALLTARGETS)) compiler
|
$(MAKE) 'FPC=$(BASEDIR)/$(TEMPWPONAME1)' 'OPT=$(LOCALOPT) $(subst pp1.wpo,pp2.wpo,$(OPTWPOPERFORM))' $(addsuffix _clean,$(ALLTARGETS)) compiler
|
||||||
$(COPY) $(EXENAME) $(TEMPWPONAME2)
|
$(COPY) $(EXENAME) $(TEMPWPONAME2)
|
||||||
$(MAKE) echotime
|
|
||||||
else
|
|
||||||
wpocycle:
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifndef DOWPOCYCLE
|
||||||
|
wpocycle:
|
||||||
|
endif
|
||||||
|
|
||||||
# Used to avoid unnecessary steps
|
# Used to avoid unnecessary steps
|
||||||
ifdef DIFF
|
ifdef DIFF
|
||||||
|
Loading…
Reference in New Issue
Block a user