Browse Source

Rename ALLPPUDIR to ALLPPUDIRS to use same make variable as in packages and utils directories

Pierre Muller 1 year ago
parent
commit
35510bd0cd
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/Makefile.fpc

+ 2 - 1
compiler/Makefile.fpc

@@ -1280,7 +1280,7 @@ rtlinstall:
 #####################################################################
 #####################################################################
 
 
 PPUDIR=$(COMPILER_UNITTARGETDIR)
 PPUDIR=$(COMPILER_UNITTARGETDIR)
-ALLPPUDIR=$(CPU_TARGET)/units/*
+ALLPPUDIRS:=$(wildcard $(CPU_TARGET)/units/*)
 PPULIST=$(wildcard $(PPUDIR)/*.ppu)
 PPULIST=$(wildcard $(PPUDIR)/*.ppu)
 PPULOGLIST=$(subst .ppu,.log-ppu,$(PPULIST))
 PPULOGLIST=$(subst .ppu,.log-ppu,$(PPULIST))
 
 
@@ -1306,6 +1306,7 @@ vpath %.log-ppu $(PPUDIR) $(RTLPPUDIR) $(ALLPPUDIR)
 	$(MAKE) -C $(COMPILERUTILSDIR) ppudump$(EXEEXT)
 	$(MAKE) -C $(COMPILERUTILSDIR) ppudump$(EXEEXT)
 
 
 ppuinfo :
 ppuinfo :
+	echo list of PPU directories is "$(ALLPPUDIRS)"
 	echo PPU list is "$(PPULIST)"
 	echo PPU list is "$(PPULIST)"
 	echo PPULOG list is "$(PPULOGLIST)"
 	echo PPULOG list is "$(PPULOGLIST)"
 	echo RTLPPUDIR is "$(RTLPPUDIR)"
 	echo RTLPPUDIR is "$(RTLPPUDIR)"