From 5ce69c7db0cffdbe2bd08ac99304ab5599b7c85a Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Thu, 4 Jun 2009 18:29:33 +0000 Subject: [PATCH] Allow override of RTEMS_BASE asnd RTEMS_VERSION in other top dirs. --- configure/os/CONFIG.Common.RTEMS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure/os/CONFIG.Common.RTEMS b/configure/os/CONFIG.Common.RTEMS index cf970095b..d751fbe8e 100644 --- a/configure/os/CONFIG.Common.RTEMS +++ b/configure/os/CONFIG.Common.RTEMS @@ -24,6 +24,10 @@ unexport GCC_EXEC_PREFIX # Get RTEMS_BASE definition -include $(CONFIG)/os/CONFIG_SITE.Common.RTEMS +ifneq ($(CONFIG),$(TOP)/configure) +-include $(TOP)/configure/CONFIG_SITE.Common.RTEMS +endif + #------------------------------------------------------- # Pick up the RTEMS tool/path definitions from the RTEMS BSP directory. include $(RTEMS_BASE)/$(RTEMS_TARGET_CPU)-rtems$(RTEMS_VERSION)/$(subst RTEMS-,,$(T_A))/Makefile.inc