waf: use Configure.autoconfig = 'clobber'

That makes reconfiguration be automatically triggered when wscripts used in
configuration are changed.
This commit is contained in:
Gustavo Jose de Sousa 2016-06-21 10:05:36 -03:00 committed by Lucas De Marchi
parent b44f73e7eb
commit 2566a13e1b
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@ sys.path.insert(0, 'Tools/ardupilotwaf/')
import ardupilotwaf import ardupilotwaf
import boards import boards
from waflib import Build, ConfigSet, Context, Utils from waflib import Build, ConfigSet, Configure, Context, Utils
Configure.autoconfig = 'clobber'
# TODO: implement a command 'waf help' that shows the basic tasks a # TODO: implement a command 'waf help' that shows the basic tasks a
# developer might want to do: e.g. how to configure a board, compile a # developer might want to do: e.g. how to configure a board, compile a