From b5e1b0117c95f5e68fe58499e2e5df1c1939fa13 Mon Sep 17 00:00:00 2001
From: Andrew Johnson <anj@aps.anl.gov>
Date: Wed, 16 May 2012 11:56:14 -0500
Subject: [PATCH] configure: Added linux-microblaze target files

---
 configure/os/CONFIG.Common.linux-microblaze   | 21 +++++++++++++++++++
 .../os/CONFIG_SITE.Common.linux-microblaze    | 14 +++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 configure/os/CONFIG.Common.linux-microblaze
 create mode 100644 configure/os/CONFIG_SITE.Common.linux-microblaze

diff --git a/configure/os/CONFIG.Common.linux-microblaze b/configure/os/CONFIG.Common.linux-microblaze
new file mode 100644
index 0000000000..21ecb03ac3
--- /dev/null
+++ b/configure/os/CONFIG.Common.linux-microblaze
@@ -0,0 +1,21 @@
+# CONFIG.Common.linux-microblaze
+#
+# This file is maintained by the build community.
+#
+# Definitions for Xilinx MicroBlaze FPGA Soft Core Processor target builds.
+# This target has been tested with the Xilinx Spartan 6 MicroBlaze.
+
+# Site-specific overrides of these definitions should be made in the file
+#   CONFIG_SITE.Common.linux-microblaze
+#-------------------------------------------------------
+
+# Include definitions common to all Linux targets
+include $(CONFIG)/os/CONFIG.Common.linuxCommon
+
+ARCH_CLASS = microblaze
+
+ifeq ($(BUILD_CLASS),CROSS)
+	VALID_BUILDS = Ioc
+	GNU_TARGET = microblazeel-unknown-linux-gnu
+	CMPLR_PREFIX = $(addsuffix -,$(GNU_TARGET))
+endif
diff --git a/configure/os/CONFIG_SITE.Common.linux-microblaze b/configure/os/CONFIG_SITE.Common.linux-microblaze
new file mode 100644
index 0000000000..43c543c2be
--- /dev/null
+++ b/configure/os/CONFIG_SITE.Common.linux-microblaze
@@ -0,0 +1,14 @@
+# CONFIG_SITE.Common.linux-microblaze
+#
+# Site specific definitions for linux-microblaze target builds.
+#-------------------------------------------------------
+
+# The gnu tools for cross compiling for MicroBlaze (little endian)
+# on Linux can be downloaded from the Xilinx git server:
+#   git clone git://git.xilinx.com/xldk/microblaze_v2.0_le.git
+#
+# The result contains a .tgz file with the tool-chain in it.
+# Set GNU_DIR to point to the un-tarred tool-chain:
+
+GNU_DIR = /usr/local/vw/microblaze-2.0/microblazeel-unknown-linux-gnu
+
-- 
GitLab