13 Commits

Author SHA1 Message Date
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
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
c18c4b6d33 Catch any importing errors. 2013-03-04 09:17:41 +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
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
87118b9de2 Fix the spelling. 2013-02-27 12:26:42 +11:00
Chris Johns
99eee0e776 Fix the != operator. 2013-02-26 17:55:58 +11:00
Chris Johns
9c2fe141db Clean out the unused directives. 2013-02-24 18:42:48 +11:00
Chris Johns
d58a31bc58 Remove debug print from the config parsing. 2013-02-13 11:39:28 +11:00
Chris Johns
d963553b51 Restructure RTEMS Config Files
Add arch build files. This allows archs to have different versions
and patches for specific tools.

Break the RTEMS config directory up into separate directories to
make long term maintenance easier. This required a change to config.py
to handle the config files being in subdirs of the config directory.

The defaults have been updated to include the install SB root so
packages built before a package are available.

Add makeinfo to the required tools. GDB (and others) need it to
build without error.
2013-02-13 11:35:36 +11:00
Chris Johns
c80560d9a4 Move into the source-builder tree. 2012-11-06 10:09:40 +11:00