788 Commits

Author SHA1 Message Date
Chris Johns
3c5f4ece9a Use the updated ARM EABI patch for gcc-4.7.2. 2013-03-11 17:15:04 +11:00
Chris Johns
3bab09c8eb Add support for build set patch options.
Remove the hard coded dependency on all patches bring -p1 and allow
a patch to optionally provide a patch option. The ARM EABI patch is
a -p0 patch.
2013-03-11 13:55:56 +11:00
Chris Johns
d007f05937 Fix the base URL for the RTEMS git web interface. 2013-03-11 11:10:42 +11:00
Chris Johns
48e1cd44ee Move all patches to the rtems-tools.git repo.
All patches are now downloaded. No patches or source is held
in the RTEMS Source Builder repo.

As part of this the build sets now have a single rtems_arch define
and the base RTEMS 4.11 build set now creates the _target macro.
With this change a method to manage RTEMS specific patches has been
put in place where build sets can define patches. This avoids needing
special configuration files.
2013-03-11 10:58:40 +11:00
Chris Johns
5cba075c71 Improve the parsing in build set files. 2013-03-11 10:39:57 +11:00
Chris Johns
aabd20d513 Clean up the error message. 2013-03-11 10:37:13 +11:00
Chris Johns
3e1a8456e0 Microblaze support for ldscript patch. 2013-03-10 14:53:08 +11:00
Chris Johns
fdc8e0c7bc Fix comments. 2013-03-10 14:52:04 +11:00
Chris Johns
ce5e9911d9 Store downloaded patches in %{_patchdir}. 2013-03-10 14:50:55 +11:00
Chris Johns
98e7a7b791 Patch to fix strsignal for the LM32 gcc-4.5.3. 2013-03-09 10:48:36 +11:00
Chris Johns
6b29f596b8 Add the --list-deps option to the set builder command. 2013-03-09 08:15:55 +11:00
Chris Johns
8301afa027 Switch LM32 to gcc-4.5.3.
This is the reported known working tool set by the Milkymist project.

Currently this does not build on MacOS. It could be a host issue with
the age of the compiler.
2013-03-09 08:12:47 +11:00
Chris Johns
876f07d293 MIPS Newlib 2.0.0 patches. Add the STX39 simulator.
There are a couple of newlib patches to fix memcpy.

Add the mipstx39 simulator as a separate target.
2013-03-08 19:10:33 +11:00
Chris Johns
48bfd7b53e Include RSB in the version string to help id the tools. 2013-03-08 19:05:48 +11:00
Chris Johns
b48dc23f95 Define as a macro as the remaining fields of the split. 2013-03-08 18:20:11 +11:00
Chris Johns
5ec7fb8151 Set a suitable package for the autotools. 2013-03-08 14:23:54 +11:00
Chris Johns
ef7c093a4f Change to newlib 2.0.0.
Move the stable to newlib 2.0.0 by default and remove the RTEMS specific
newlib patch which is mostly the changes from 2010.
2013-03-08 14:02:26 +11:00
Chris Johns
f17665ede2 Add MIPS STX39 and Moxie specific GDB builds.
The MIPS STX39 is a special build for the simulator and the Moxie
build has a specific patch which was in the common configuration.
2013-03-08 14:00:45 +11:00
Chris Johns
50da39a33a Macro %define updates an existing macro.
Analysis of the current script shows a number of updates are happening
and this should be the default.
2013-03-08 13:58:48 +11:00
Chris Johns
79f80fd979 Add a deps option to print the dependent config files. 2013-03-07 15:23:29 +11:00
Chris Johns
984e4e6f39 Provide better control of sharing the defaults.
When using the set builder and nesting builds prpvide the nested
set builder and build objects with copies of the master defaults.
Python's variable sharing was sharing a single set of defaults
across all build sets and this resulted in popluted configurations.
2013-03-06 13:30:54 +11:00
Chris Johns
5e883dbc6f Do not copy on a dry run. 2013-03-06 12:35:01 +11:00
Chris Johns
0606a65718 Clean path when building autoconf and automake.
Autoconf hard codes paths into itself. This change is a first
pass at allowing a clean environment to let automake build. The
ability to 'make install DESTDIR=xxx' autoconf then use it to
build automake needs a clean environment. The purpose is to
allow a prefix that needs root without building and packaging
when root.
2013-03-05 19:43:43 +11:00
Chris Johns
b521098ad6 Clean up the per target C/C++ handling. 2013-03-05 14:30:31 +11:00
Chris Johns
6f3633361c Add missing unstable targets. Fix comments. 2013-03-05 10:31:55 +11:00
Chris Johns
65d1425c57 Add the missing targets to the 'all' build. 2013-03-05 10:15:10 +11:00
Chris Johns
2754e999fa Add missing targets. 2013-03-05 08:47:18 +11:00
Chris Johns
514ad167ae Add more report detail. 2013-03-04 18:08:03 +11:00
Chris Johns
06834cfcf5 Build set reports are the package name and not the config name. 2013-03-04 18:07:38 +11:00
Chris Johns
5e502a9ab1 Update ^C message to the user. 2013-03-04 18:06:51 +11:00
Chris Johns
3b0ce4e0fa More info helpers, allow info to append and fix %{?} expansion.
Add URL and summary to the info helpers. Fix the package get_info and
allow infos to be appended to. This lets a summary be on more than
one line.

Fix the %{?} expansion logic so %{?macro} expands to the macro if it
exists.
2013-03-04 18:04:00 +11:00
Chris Johns
54d76bb037 Provide the main package as a function. 2013-03-04 18:03:19 +11:00
Chris Johns
9867b1c97a Update the summary to include version number of parts. 2013-03-04 18:02:49 +11:00
Chris Johns
71329cd291 Fix conditional logic. 2013-03-04 18:02:06 +11:00
Chris Johns
735cd20eff Unstable 4.11 is using gcc 4.8-20130303 2013-03-04 18:01:44 +11:00
Chris Johns
0759d98628 Move find_configs to build and fix. Install reports to 'rtems-source-builder'. 2013-03-04 10:14:57 +11:00
Chris Johns
43c3d0abb7 Add autotools to the all build set. 2013-03-04 09:44:57 +11:00
Chris Johns
864e8ff9fa Clean up build set configuration reporting. 2013-03-04 09:42:08 +11:00
Chris Johns
c18c4b6d33 Catch any importing errors. 2013-03-04 09:17:41 +11:00
Chris Johns
26595c7b29 Create a report for each configuration file installed.
Add reporting to the build set building. Add options to disable reporting
and control the report format.
2013-03-04 09:14:11 +11:00
Chris Johns
0464153b36 Change asciidoc to the 8.6.4 release package because Windows was broken. 2013-03-03 15:58:11 +11:00
Chris Johns
dac950217a Import more of asciidoc. 2013-03-03 15:18:07 +11:00
Chris Johns
d6638aae6c Add html as a format and now asciidoc gives you the asciidoc text. 2013-03-03 15:16:43 +11:00
Chris Johns
6ee25e54de Fix the asciidoc import. Add the missing config files. 2013-03-03 14:52:39 +11:00
Chris Johns
29a4f48db8 Import asciidoc into the tool. 2013-03-03 13:26:25 +11:00
Chris Johns
d7e4900fe7 Add support for GIT.
The git module allows basic access to git. Hosts are now required
to provide git support.

The defaults module now returns options as a list split on '='.
2013-03-03 13:24:19 +11:00
Chris Johns
45ca8cf134 Conditional macros are defined for true else must be 0 for false.
The RPM spec file will return value for %{?macro:value} if the
macro is defined. This means you need to:

%if %something
 %define macro 1
%else
 %undefine macro
%endif

which means you have to have more complex tests to check for the macro
and its value. Therefore we support defined as true and defined and
0 as false.
2013-03-02 16:08:05 +11:00
Chris Johns
a18e76bd85 If %setup -c then always create and change into the directory. 2013-03-02 16:06:59 +11:00
Chris Johns
c096c20d7b Fix %{?:} and %{!?:} conditional macros.
Building on Windows showed the --enable-plugin was being set yet
it was disabled. The code was just checking if the macro was defined
and not actually testing the value. The value is now being tested
and it needs to be true to succeed.
2013-03-02 15:20:28 +11:00
Chris Johns
7618a74c62 Fix %setup now the scripts have been cleaned up. 2013-03-01 10:01:11 +11:00