From 39ca40fc33c30411af01cf17c641bccbb82595a0 Mon Sep 17 00:00:00 2001
From: Andrew Johnson <anj@aps.anl.gov>
Date: Wed, 16 May 2012 11:57:17 -0500
Subject: [PATCH] configure: Move GNU_DIR setting for linux-xscale_be

All site-specific values should be set in CONFIG_SITE files.
---
 configure/os/CONFIG.Common.linux-xscale_be      | 8 ++------
 configure/os/CONFIG_SITE.Common.linux-xscale_be | 9 +++++++++
 2 files changed, 11 insertions(+), 6 deletions(-)
 create mode 100644 configure/os/CONFIG_SITE.Common.linux-xscale_be

diff --git a/configure/os/CONFIG.Common.linux-xscale_be b/configure/os/CONFIG.Common.linux-xscale_be
index a70cc79b68..f5c9ea8ee4 100644
--- a/configure/os/CONFIG.Common.linux-xscale_be
+++ b/configure/os/CONFIG.Common.linux-xscale_be
@@ -5,7 +5,8 @@
 # Definitions for linux-xscale_be (big-endian) target builds.
 # This target has been tested with the MOXA UC-7408-LX Plus.
 
-# Sites may override these definitions in CONFIG_SITE.Common.linux-xscale_be
+# Site-specific overrides of these definitions should be made in the file
+#   CONFIG_SITE.Common.linux-xscale_be
 #-------------------------------------------------------
 
 # Include definitions common to all Linux targets
@@ -13,11 +14,6 @@ include $(CONFIG)/os/CONFIG.Common.linuxCommon
 
 ARCH_CLASS = xscale
 
-#
-# The vendor's tool chain needs to be located here
-#
-GNU_DIR=/usr/local/xscale_be
-
 ifeq ($(BUILD_CLASS),CROSS)
     VALID_BUILDS = Ioc
     GNU_TARGET = xscale_be
diff --git a/configure/os/CONFIG_SITE.Common.linux-xscale_be b/configure/os/CONFIG_SITE.Common.linux-xscale_be
new file mode 100644
index 0000000000..0d28a4e2a3
--- /dev/null
+++ b/configure/os/CONFIG_SITE.Common.linux-xscale_be
@@ -0,0 +1,9 @@
+# CONFIG_SITE.Common.linux-xscale_be
+#
+# Site specific definitions for linux-xscale_be target builds.
+#-------------------------------------------------------
+
+# Set GNU_DIR to point to directory containing the tool-chain
+
+GNU_DIR = /usr/local/xscale_be
+
-- 
GitLab