From 2074bd1168ee72e6d1262a0c31bafd3338f62b80 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 13 Apr 2017 17:50:31 +1000 Subject: 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} -- cgit v1.2.3