mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: do not generate headers when cleaning
This commit is contained in:
parent
4aeb85d080
commit
eb9b29f84b
2
wscript
2
wscript
@ -663,6 +663,8 @@ def _build_post_funs(bld):
|
|||||||
|
|
||||||
def _load_pre_build(bld):
|
def _load_pre_build(bld):
|
||||||
'''allow for a pre_build() function in build modules'''
|
'''allow for a pre_build() function in build modules'''
|
||||||
|
if bld.cmd == 'clean':
|
||||||
|
return
|
||||||
brd = bld.get_board()
|
brd = bld.get_board()
|
||||||
if getattr(brd, 'pre_build', None):
|
if getattr(brd, 'pre_build', None):
|
||||||
brd.pre_build(bld)
|
brd.pre_build(bld)
|
||||||
|
Loading…
Reference in New Issue
Block a user