waf: don't embed the sandbox.lua anymore

This commit is contained in:
Michael du Breuil 2020-02-13 13:59:09 -07:00 committed by Andrew Tridgell
parent c1a599d0bd
commit ea3d8046da

View File

@ -56,18 +56,11 @@ 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'
]
else:
cfg.options.disable_scripting = True;