[rtems-source-builder commit] rtems-tools: Start a build with a distclean to clean away an old build.

Chris Johns chrisj at rtems.org
Thu Apr 13 07:53:15 UTC 2017


Module:    rtems-source-builder
Branch:    master
Commit:    2074bd1168ee72e6d1262a0c31bafd3338f62b80
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=2074bd1168ee72e6d1262a0c31bafd3338f62b80

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Apr 13 17:50:31 2017 +1000

rtems-tools: Start a build with a distclean to clean away an old build.

If building rtems-tools from git and switching the RSB branch the
git repo for rtems-tools holds object files from the old branch. This
is due to waf building in the source tree and the RSB keepiing the
git repo around in the `sources` directory.

---

 rtems/config/tools/rtems-tools-common-1.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rtems/config/tools/rtems-tools-common-1.cfg b/rtems/config/tools/rtems-tools-common-1.cfg
index dc66783..9474ad1 100644
--- a/rtems/config/tools/rtems-tools-common-1.cfg
+++ b/rtems/config/tools/rtems-tools-common-1.cfg
@@ -46,7 +46,7 @@ License:   BSD-2-Clause + GPL-2.0
   fi
 
   cd ${source_dir_rtems_tools}
-  ./waf configure ${RT_HOST} --prefix=%{_prefix}
+  ./waf distclean configure ${RT_HOST} --prefix=%{_prefix}
   ./waf
   cd ${build_top}
 



More information about the vc mailing list