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.
This commit is contained in:
Chris Johns 2017-04-13 17:50:31 +10:00
parent 4141cca73d
commit 2074bd1168

View File

@ -46,7 +46,7 @@ License: BSD-2-Clause + GPL-2.0
fi fi
cd ${source_dir_rtems_tools} cd ${source_dir_rtems_tools}
./waf configure ${RT_HOST} --prefix=%{_prefix} ./waf distclean configure ${RT_HOST} --prefix=%{_prefix}
./waf ./waf
cd ${build_top} cd ${build_top}