summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2017-04-13 17:50:31 +1000
committerChris Johns <chrisj@rtems.org>2017-04-13 17:50:31 +1000
commit2074bd1168ee72e6d1262a0c31bafd3338f62b80 (patch)
treecd6a821e7bf079a0f7f3ecd0d94b80c599e8bfce
parentFix rtems-tools and rtems-kernel builds when released and with a release URL. (diff)
downloadrtems-source-builder-2074bd1168ee72e6d1262a0c31bafd3338f62b80.tar.bz2
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.
-rw-r--r--rtems/config/tools/rtems-tools-common-1.cfg2
1 files changed, 1 insertions, 1 deletions
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}