mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 13:59:34 +02:00
Add PPUDUMP variable to be able to specify explicit version of ppudump program, defaulting to ppudump executable in SEARCHPATH
git-svn-id: trunk@42580 -
This commit is contained in:
parent
d6c5a1799c
commit
754b1bd930
@ -496,6 +496,14 @@ endif
|
||||
NOCPUDEF=1
|
||||
MSGFILE=msg/error$(FPCLANG).msg
|
||||
SVNVERSION:=$(firstword $(wildcard $(addsuffix /svnversion$(SRCEXEEXT),$(SEARCHPATH))))
|
||||
PPUDUMPPROG:=$(firstword $(strip $(wildcard $(addsuffix /ppudump$(SRCEXEEXT),$(SEARCHPATH)))))
|
||||
ifndef PPUDUMP
|
||||
ifdef PPUDUMPPROG
|
||||
PPUDUMP=$(PPUDUMPPROG)
|
||||
else
|
||||
PPUDUMP=ppudump
|
||||
endif
|
||||
endif
|
||||
REVINC:=$(wildcard revision.inc)
|
||||
ifneq ($(REVINC),)
|
||||
override LOCALOPT+=-dREVINC
|
||||
@ -4568,7 +4576,6 @@ endif
|
||||
endif
|
||||
endif
|
||||
else
|
||||
cycle: override FPC=
|
||||
cycle:
|
||||
ifdef NEED_G_COMPILERS
|
||||
$(MAKE) fpcmade.generate_g_compilers
|
||||
@ -4693,7 +4700,7 @@ rtlppulogs : $(RTLPPULOGLIST)
|
||||
vpath %.ppu $(PPUDIR) $(RTLPPUDIR) $(ALLPPUDIR)
|
||||
vpath %.log-ppu $(PPUDIR) $(RTLPPUDIR) $(ALLPPUDIR)
|
||||
%.log-ppu : %.ppu
|
||||
ppudump -VA -M $< > $@
|
||||
$(PPUDUMP) -VA -M $< > $@
|
||||
./utils/ppudump$(EXEEXT):
|
||||
$(MAKE) -C $(COMPILERUTILSDIR) ppudump$(EXEEXT)
|
||||
ppuinfo :
|
||||
|
@ -235,6 +235,15 @@ MSGFILE=msg/error$(FPCLANG).msg
|
||||
|
||||
|
||||
SVNVERSION:=$(firstword $(wildcard $(addsuffix /svnversion$(SRCEXEEXT),$(SEARCHPATH))))
|
||||
PPUDUMPPROG:=$(firstword $(strip $(wildcard $(addsuffix /ppudump$(SRCEXEEXT),$(SEARCHPATH)))))
|
||||
ifndef PPUDUMP
|
||||
ifdef PPUDUMPPROG
|
||||
PPUDUMP=$(PPUDUMPPROG)
|
||||
else
|
||||
PPUDUMP=ppudump
|
||||
endif
|
||||
endif
|
||||
|
||||
# Check if revision.inc is present
|
||||
REVINC:=$(wildcard revision.inc)
|
||||
ifneq ($(REVINC),)
|
||||
@ -919,7 +928,7 @@ else
|
||||
# ppc3/ppcXXX = native (skipped for cross installation)
|
||||
#
|
||||
|
||||
cycle: override FPC=
|
||||
#cycle: override FPC=
|
||||
cycle:
|
||||
ifdef NEED_G_COMPILERS
|
||||
$(MAKE) fpcmade.generate_g_compilers
|
||||
@ -1121,7 +1130,7 @@ vpath %.log-ppu $(PPUDIR) $(RTLPPUDIR) $(ALLPPUDIR)
|
||||
|
||||
# Use installed ppudump
|
||||
%.log-ppu : %.ppu
|
||||
ppudump -VA -M $< > $@
|
||||
$(PPUDUMP) -VA -M $< > $@
|
||||
|
||||
|
||||
./utils/ppudump$(EXEEXT):
|
||||
|
Loading…
Reference in New Issue
Block a user