Skip to content

Commit

Permalink
waf: fixed leading slashes in root of ROMFS
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Feb 21, 2024
1 parent a9eadd9 commit c7a729b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tools/ardupilotwaf/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,8 @@ def configure_env(self, cfg, env):
# 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):
Expand Down

0 comments on commit c7a729b

Please sign in to comment.