mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
ardupilotwaf: Add ROMFS for scripting
This commit is contained in:
parent
0acb1103b0
commit
645afbab82
@ -97,11 +97,19 @@ class Board:
|
||||
LUA_32BITS = 1,
|
||||
)
|
||||
|
||||
env.ROMFS_FILES += [
|
||||
('sandbox.lua', 'libraries/AP_Scripting/scripts/sandbox.lua'),
|
||||
]
|
||||
|
||||
env.AP_LIBRARIES += [
|
||||
'AP_Scripting',
|
||||
'AP_Scripting/lua/src',
|
||||
]
|
||||
|
||||
env.CXXFLAGS += [
|
||||
'-DHAL_HAVE_AP_ROMFS_EMBEDDED_H'
|
||||
]
|
||||
|
||||
if 'clang' in cfg.env.COMPILER_CC:
|
||||
env.CFLAGS += [
|
||||
'-fcolor-diagnostics',
|
||||
|
Loading…
Reference in New Issue
Block a user