Only calculate RELEASE_TOPS once.

This commit is contained in:
Andrew Johnson
2009-12-22 23:29:05 +00:00
parent fd5773a3fc
commit 6ccdb6eba6
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ endif
# Include <top>/cfg/CONFIG* definitions from tops defined in RELEASE* files
#
ifneq ($(CONFIG),$(TOP)/configure)
RELEASE_TOPS ?= $(shell $(PERL) $(TOOLS)/convertRelease.pl -T $(TOP) releaseTops )
RELEASE_TOPS := $(shell $(CONVERTRELEASE) -T $(TOP) releaseTops)
RELEASE_CFG_CONFIGS = $(foreach top, $(RELEASE_TOPS), $(wildcard $($(top))/cfg/CONFIG*))
ifneq ($(RELEASE_CFG_CONFIGS),)
include $(RELEASE_CFG_CONFIGS)

View File

@@ -1,7 +1,7 @@
export TOP
export IOCAPPS
RELEASE_TOPS = $(shell $(PERL) $(TOOLS)/convertRelease.pl -T $(TOP) releaseTops )
RELEASE_TOPS := $(shell $(CONVERTRELEASE) -T $(TOP) releaseTops)
ifneq ($(RELEASE_TOPS),)