From 4f26bdb2f0372abc1273f16594e9ac1fd96e0559 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 1 Apr 2013 15:19:56 +1100 Subject: Add Canadian Cross support. Add support to build MinGW tools using Cygwin. This is a Canadian cross build. Do not expand the directives when parsing a configuration file. Hold in the package object the text as read from the configuration file. Still parse the logic but leave the macros. This allows a configuration to be varied when the build happens. The Canadian cross uses this to build a build compiler used to build a Cxc runtime. Add Cxc support to the build module. In the defaults add rm and rmfile macros, add Cxc paths and pre-build script code. In the setbuilder check for a Cxc build and if so and the package allow Cxc build the build host version then the host target version. Add cygiwn support to the defaults processing and to the Windows module. --- rtems/config/tools/rtems-binutils-2.20.1-1.cfg | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rtems/config/tools/rtems-binutils-2.20.1-1.cfg') diff --git a/rtems/config/tools/rtems-binutils-2.20.1-1.cfg b/rtems/config/tools/rtems-binutils-2.20.1-1.cfg index 21272e9..172d2b2 100644 --- a/rtems/config/tools/rtems-binutils-2.20.1-1.cfg +++ b/rtems/config/tools/rtems-binutils-2.20.1-1.cfg @@ -8,6 +8,9 @@ %define binutils_version 2.20.1 Patch0: %{rtems_binutils_patches}/binutils-2.20.1-rtems4.10-20100826.diff +%ifos win32 mingw ming32 cygwin + Patch1: %{rtems_binutils_patches}/cygwin/binutils-2.20.1-cygwin-w64-20130324.diff +%endif # # RTEMS Build Set patches. -- cgit v1.2.3