78 Commits

Author SHA1 Message Date
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
Chris Johns
9262cd4947 Update the Windows location of new tools. 2013-02-27 16:04:04 +11:00
Chris Johns
87118b9de2 Fix the spelling. 2013-02-27 12:26:42 +11:00
Chris Johns
b366c7536c Fix the spelling. 2013-02-27 12:26:26 +11:00
Chris Johns
99eee0e776 Fix the != operator. 2013-02-26 17:55:58 +11:00
Chris Johns
eef48f9f74 Make the doco more visiable.
A user asked for the documentation to be move higher in the
source tree so it is easier to find.
2013-02-24 20:09:15 +11:00
Chris Johns
5ba5405362 Update documentation. Lots more is needed before it is finished. 2013-02-24 20:07:47 +11:00
Chris Johns
9c2fe141db Clean out the unused directives. 2013-02-24 18:42:48 +11:00
Chris Johns
d5fa35c806 RTEMS uses 1.12.2. 2013-02-24 18:17:27 +11:00
Chris Johns
dab4a9bbbe Check the dry-opt option before doing the install. 2013-02-24 18:15:12 +11:00
Chris Johns
27e5a7e7f5 Add the sb-defaults command to print a hosts defaults. 2013-02-23 14:45:27 +11:00
Chris Johns
de8f4bfb0f Rename Source Builder to RTEMS Source Builder. 2013-02-23 10:09:40 +11:00
Chris Johns
0c84a4fa1e Add support for Raspberry Pi. 2013-02-22 16:44:28 +11:00
Chris Johns
ee47d7210e Create tar directory when making build set tar files.
Move the mkdir and removeall code from the build module to the path
module.
2013-02-22 14:44:51 +11:00
Chris Johns
cafbcc611b Support directly installing.
By default the Source Builder now directly installs in the prefix and
does not create tar files. You need to supply options to create build
set level tar files and/or package level tar files.
2013-02-21 19:03:09 +11:00
Chris Johns
729f0bb61f Build sets can optional keep going on failure to support tool build testing.
The --keep-going option lets a build set continue if it fails. The keep
going is only at the build set level and not at the package level.
2013-02-21 10:17:24 +11:00
Chris Johns
1b7e392fa1 Make the shell cmd path relative on error. 2013-02-21 10:16:52 +11:00
Chris Johns
e5aa27f028 Make sources directory if it does not exist.
Remove the need to add the --force option. Also revert the force option
back to the --force from --no-force and leave it so the user can
bypass the host check of various packages.
2013-02-21 10:07:04 +11:00
Chris Johns
251a42d399 Output the time a build set takes. 2013-02-20 17:30:59 +11:00
Chris Johns
4f5321fa65 Fix support for GCC being build as C++. 2013-02-20 16:39:41 +11:00
Chris Johns
4f8fb656c4 Fix the path handling of nesting build sets. 2013-02-20 16:38:46 +11:00
Chris Johns
b112284fb3 Use a relative path for the download notice message. 2013-02-20 14:48:54 +11:00
Chris Johns
a32dcbdda5 Add unstable.
Add a tree of unstable configurations to track recent gcc source.
2013-02-20 14:46:51 +11:00
Chris Johns
9f04b64113 Architecture arm-rtems4.11 uses EABI.
Switch the arm-rtems4.11 to use EABI. The patch do this is taken from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53325.
2013-02-20 11:18:10 +11:00
Chris Johns
ab99d6fe8c Print the installed path as relative. 2013-02-19 20:04:26 +11:00
Chris Johns
972ad8cdee Make force on the default. Option is now --no-force. 2013-02-19 19:02:51 +11:00
Chris Johns
fba1136108 Build Sets can reference other build sets.
A build set can invoke another build set. This allows an 'all'
type build set that builds all the RTEMS archs.

Change the get config call to return a map of paths and files.
2013-02-19 19:00:56 +11:00
Chris Johns
8d7624e1d4 Clean _tmproot. Move config listing to the setbuilder module.
Add the mising _tmprool clean.

Move the list printing out of the build which now just returns a
list of config files to the location of the options.
2013-02-17 11:50:02 +11:00
Chris Johns
ebc505ccf3 Clean up the configure command for expat. 2013-02-17 11:49:41 +11:00
Chris Johns
e908afb868 Listing options now handle nested directories. 2013-02-14 18:00:38 +11:00
Chris Johns
73e8afb106 If the path is empty do prepend a dirsep. 2013-02-14 18:00:06 +11:00
Chris Johns
b1202fcbc4 Moxie GDB DTC support added
The Moxie GDB simulator uses the DTC (device tree compiler) to
build a device tree. This is added and built before the gdb.
2013-02-14 16:14:38 +11:00
Chris Johns
87fc7e021e Add Moxie support.
Binutils and the compiler build how-ever gdb needs a tool called 'dtc'
to build the simulator. This is not present on my FreeBSD test box.
2013-02-14 12:32:03 +11:00
Chris Johns
78543a99ff Add python-devel to the CentOS packages required. 2013-02-13 20:13:19 +11:00
Chris Johns
726b38e0b2 Fix _tmproot bug in OPT flags set up. 2013-02-13 16:49:36 +11:00
Chris Johns
5110a45e9f Update the CentOS package list. 2013-02-13 15:50:16 +11:00
Chris Johns
1b094bf1aa Fix the tmprort name. It should be _tmproot. 2013-02-13 11:46:00 +11:00
Chris Johns
d58a31bc58 Remove debug print from the config parsing. 2013-02-13 11:39:28 +11:00