summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools/rtems-tools-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-10-31 15:02:07 +1100
committerChris Johns <chrisj@rtems.org>2014-10-31 15:11:10 +1100
commit1b11d05bdf4a0bee014c99cfe104c6b2db021c11 (patch)
tree3d3e510f627b4381903024938e720a8dcab3ff66 /rtems/config/tools/rtems-tools-1.cfg
parentrtems-4.11: Add libjpeg (diff)
downloadrtems-source-builder-1b11d05bdf4a0bee014c99cfe104c6b2db021c11.tar.bz2
rtems4.11: Upgrade to gcc-4.9.2. Build rtems-tools and install.
RTEMS kernel requires the rtems-tools package be installed to build the libdl tests.
Diffstat (limited to 'rtems/config/tools/rtems-tools-1.cfg')
-rw-r--r--rtems/config/tools/rtems-tools-1.cfg38
1 files changed, 38 insertions, 0 deletions
diff --git a/rtems/config/tools/rtems-tools-1.cfg b/rtems/config/tools/rtems-tools-1.cfg
new file mode 100644
index 0000000..42acb9e
--- /dev/null
+++ b/rtems/config/tools/rtems-tools-1.cfg
@@ -0,0 +1,38 @@
+#
+# RTEMS Tools from git://git.rtems.org/rtems-tools.git
+#
+
+#
+# Optionally enable/disable building the RTEMS Tools via the command line.
+#
+%if %{defined with_rtems_tools}
+ %define rtems_tools_build 1
+%endif
+%if %{defined without_rtems_tools}
+ %define rtems_tools_build 0
+%endif
+
+#
+# Build by default.
+#
+%if ! %{defined rtems_tools_build}
+ %define rtems_tools_build 1
+%endif
+
+%if %{rtems_tools_build}
+ #
+ # Pull the latest changes from git each build. Override if this is not what you
+ # want.
+ #
+ %if %{defined rtems_tools_version}
+ %define rtems_tools_git_checkout ?checkout=%{rtems_tools_version}
+ %else
+ %define rtems_tools_git_checkout %{nil}
+ %endif
+ %source set rtems-tools git://git.rtems.org/rtems-tools.git?fetch?reset=hard?branch=master%{rtems_tools_git_checkout}
+
+ #
+ # The RTEMS Tools build instructions. We use GIT Release 1.
+ #
+ %include tools/rtems-tools-git-1.cfg
+%endif