<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems-tools (2010-08-28)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
 <font color='#bb2222'><strong>ccj</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-08-29      Chris Johns <chrisj@rtems.org>

        * specbuilder/specbuilder/defaults.py: Add default configure
        macro. Add --dry-run to the parsed arguments. Fix the case when
        run on a new host that does not have default support.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-tools/ChangeLog.diff?r1=text&tr1=1.5&r2=text&tr2=1.6&diff_format=h">M</a></td><td width='1%'>1.6</td><td width='100%'>ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems-tools/specbuilder/specbuilder/defaults.py.diff?r1=text&tr1=1.4&r2=text&tr2=1.5&diff_format=h">M</a></td><td width='1%'>1.5</td><td width='100%'>specbuilder/specbuilder/defaults.py</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems-tools/ChangeLog:1.5 rtems-tools/ChangeLog:1.6
--- rtems-tools/ChangeLog:1.5   Thu Aug 12 23:40:44 2010
+++ rtems-tools/ChangeLog       Sat Aug 28 18:01:20 2010
</font><font color='#997700'>@@ -1,3 +1,9 @@
</font><font color='#000088'>+2010-08-29    Chris Johns <chrisj@rtems.org>
+
+       * specbuilder/specbuilder/defaults.py: Add default configure
+       macro. Add --dry-run to the parsed arguments. Fix the case when
+       run on a new host that does not have default support.
+<span style="background-color: #FF0000">       </span>
</font> 2010-08-13        Chris Johns <chrisj@rtems.org>
 
        * specbuilder/specbuilder/defaults.py: Provide a default shell.

<font color='#006600'>diff -u rtems-tools/specbuilder/specbuilder/defaults.py:1.4 rtems-tools/specbuilder/specbuilder/defaults.py:1.5
--- rtems-tools/specbuilder/specbuilder/defaults.py:1.4 Thu Aug 12 23:40:44 2010
+++ rtems-tools/specbuilder/specbuilder/defaults.py     Sat Aug 28 18:01:20 2010
</font><font color='#997700'>@@ -148,6 +148,26 @@
</font> '_usrsrc':             '%{_usr}/src',
 '_var':                '/usr/local/var',
 '_varrun':             '%{_var}/run',
<font color='#000088'>+'configure': '''
+CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;<span style="background-color: #FF0000"> </span>
+CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ;<span style="background-color: #FF0000"> </span>
+FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ;<span style="background-color: #FF0000"> </span>
+./configure --build=%{_build} --host=%{_host} \
+      --target=%{_target_platform} \
+      --program-prefix=%{?_program_prefix} \
+      --prefix=%{_prefix} \
+      --exec-prefix=%{_exec_prefix} \
+      --bindir=%{_bindir} \
+      --sbindir=%{_sbindir} \
+      --sysconfdir=%{_sysconfdir} \
+      --datadir=%{_datadir} \
+      --includedir=%{_includedir} \
+      --libdir=%{_libdir} \
+      --libexecdir=%{_libexecdir} \
+      --localstatedir=%{_localstatedir} \
+      --sharedstatedir=%{_sharedstatedir} \
+      --mandir=%{_mandir} \
+      --infodir=%{_infodir}''',
</font> 'nil':                 ''
 }
 
<font color='#997700'>@@ -176,6 +196,7 @@
</font>                    '--rtems'      : '_rtemssrc' }
 
     _long_true_opts = { '--trace'    : '_trace',
<font color='#000088'>+                        '--dry-run'  : '_dry_run',
</font>                         '--warn-all' : '_warn_all',
                         '--no-clean' : '_no_clean',
                         '--no-smp'   : '_no_smp',
<font color='#997700'>@@ -398,12 +419,15 @@
</font>     if uname[0] == 'Darwin':
         import darwin
         overrides = darwin.load()
<font color='#000088'>+    if overrides is None:
+        raise error.general('no hosts defaults found; please add')
</font>     for k in overrides:
         d[k] = overrides[k]
     import rtems
     overrides = rtems.load()
<font color='#880000'>-    for k in overrides:
-        d[k] = overrides[k]
</font><font color='#000088'>+    if overrides is not None:
+        for k in overrides:
+            d[k] = overrides[k]
</font>     o = command_line(args)
     for k in o.defaults:
         d[k] = o.defaults[k]
</pre>
<p> </p>

<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>