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
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
Chris Johns
4754f1e747
Add a reporting tool.
2013-02-28 20:44:02 +11:00
Chris Johns
d63f135f5d
Make the bset/cfg lister a function.
2013-02-28 20:43:33 +11:00
Chris Johns
bcae849cf1
Cleanup the %setup flags
2013-02-28 16:37:27 +11:00
Chris Johns
60f70d6c1d
Fix the %setup error messages.
2013-02-28 16:36:37 +11:00
Chris Johns
bc710668cf
Fix host paths on Windows.
2013-02-27 16:04:29 +11:00