mirror of https://github.com/ArduPilot/ardupilot
waf: fixed leading slashes in root of ROMFS
This commit is contained in:
parent
a9eadd9f01
commit
c7a729b7f6
|
@ -510,6 +510,8 @@ class Board:
|
|||
# exclude emacs tmp files
|
||||
continue
|
||||
fname = root[len(custom_dir)+1:]+"/"+f
|
||||
if fname.startswith("/"):
|
||||
fname = fname[1:]
|
||||
env.ROMFS_FILES += [(fname,root+"/"+f)]
|
||||
|
||||
def pre_build(self, bld):
|
||||
|
|
Loading…
Reference in New Issue