mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-02 10:23:25 +08:00
waf: embed ROMFS files named like the directory beside them
SITL's ROMFS gains files which sort just before a directory of the same name, at the top level and below it, so MAVFTPListROMFS checks such a directory is still listed.
This commit is contained in:
committed by
Peter Barker
parent
bbb6c224aa
commit
36b5ce80fb
@@ -945,6 +945,11 @@ class SITLBoard(Board):
|
||||
for name in ('f' * 300, 'd' * 300 + '/file'):
|
||||
env.ROMFS_FILES += [('autotest_fixtures/long_names/' + name, 'Tools/autotest/default_params/copter-X.parm')]
|
||||
|
||||
# files named like the directory beside them, which sort just before
|
||||
# it, at the top level and below, so autotest can check both listed
|
||||
for name in ('autotest_fixtures.txt', 'autotest_fixtures/nested/sub.txt', 'autotest_fixtures/nested/sub/file'):
|
||||
env.ROMFS_FILES += [(name, 'Tools/autotest/default_params/copter-X.parm')]
|
||||
|
||||
if cfg.options.sitl_rgbled:
|
||||
env.CXXFLAGS += ['-DWITH_SITL_RGBLED']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user