From 6ccdb6eba601f85faf1df4a42878c17e92b9ec05 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Tue, 22 Dec 2009 23:29:05 +0000 Subject: [PATCH] Only calculate RELEASE_TOPS once. --- configure/CONFIG | 2 +- configure/CONFIG_APP_INCLUDE | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure/CONFIG b/configure/CONFIG index 82264f4c6..f41f1ff1a 100644 --- a/configure/CONFIG +++ b/configure/CONFIG @@ -87,7 +87,7 @@ endif # Include /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) diff --git a/configure/CONFIG_APP_INCLUDE b/configure/CONFIG_APP_INCLUDE index 3f4db904c..3951ed282 100644 --- a/configure/CONFIG_APP_INCLUDE +++ b/configure/CONFIG_APP_INCLUDE @@ -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),)