Chris Johns
e4cb1d01d6
Report the exit code on a shell macro failure.
2013-04-03 08:56:35 +11:00
Chris Johns
8dedfc741a
PR 2106. Fixed the include name.
2013-04-02 20:53:32 +11:00
Chris Johns
fbc946c0b1
Fix the CPU count on Linux.
2013-04-02 17:54:21 +11:00
Chris Johns
2b069dc82a
Merge back in the multi-patch support to the gcc common configuration.
2013-04-02 10:17:57 +11:00
Chris Johns
ee203a1f7a
Save the original path away.
2013-04-01 15:35:51 +11:00
Chris Johns
4f26bdb2f0
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.
2013-04-01 15:19:56 +11:00
Sebastian Huber
1e1ea1e1a2
Install reports under "share" directory
...
This is normally the place for architecture-independent (shared) data.
2013-03-23 08:55:56 +11:00
Chris Johns
03ae6cad2a
Need to have a default patch opts
2013-03-21 20:43:11 +11:00
Chris Johns
b78c1288b2
Patch on FreeBSD needs to have -E to remove empty files. This is the Linux default.
2013-03-21 20:37:15 +11:00
Dhananjay Balan
97c4323654
Add version configuration
2013-03-19 14:34:07 +11:00
Chris Johns
3351e1575d
Add distro aliases to group similar types.
2013-03-15 17:00:38 +11:00
Chris Johns
c3ab00c2a4
Remove tabs. Add a safe way to default to a distro.
2013-03-15 16:15:23 +11:00
Dhananjay Balan
2feb624768
Arch specific additions
2013-03-15 16:10:49 +11:00
Dhananjay Balan
2c2c6bc824
Linux Distro specific path names
2013-03-15 16:10:34 +11:00
Chris Johns
3643c48bfb
Add RTEMS 4.9 support for i386 and SPARC.
2013-03-15 15:34:24 +11:00
Chris Johns
e39d5e20ab
Allow a build set to provide the source0 path.
2013-03-15 15:34:24 +11:00
Chris Johns
aa4f8f66e0
Generate a better error message. Use the package name in the installing message.
2013-03-15 15:34:24 +11:00
Chris Johns
4266597633
Fix the second config call to pass defaults and opts.
2013-03-13 15:08:22 +11:00
Chris Johns
fd4e4fb875
Use separate defaults and opts for each build set.
2013-03-13 11:35:21 +11:00
Chris Johns
fa653c2ce2
Use the new opts define and add an undefine.
2013-03-12 18:30:15 +11:00
Chris Johns
b4b4f3c9de
Add a define and undefine to opts. Define git details.
2013-03-12 18:29:57 +11:00
Chris Johns
ce4759ef17
Add build set patch option support.
2013-03-12 09:22:40 +11:00
Chris Johns
a420a64794
Fix the patch opts logic typo.
2013-03-12 09:22:01 +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
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
ce5e9911d9
Store downloaded patches in %{_patchdir}.
2013-03-10 14:50: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
b48dc23f95
Define as a macro as the remaining fields of the split.
2013-03-08 18:20:11 +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
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
0759d98628
Move find_configs to build and fix. Install reports to 'rtems-source-builder'.
2013-03-04 10:14: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