diff options
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index 4384b9f379b..8d52dc75391 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -198,6 +198,11 @@ newoption { } newoption { + trigger = "TOOLCHAIN", + description = "Toolchain prefix" +} + +newoption { trigger = "PROFILE", description = "Enable profiling.", } @@ -427,6 +432,10 @@ if(_OPTIONS["USE_BGFX"]~=nil) then USE_BGFX = tonumber(_OPTIONS["USE_BGFX"]) end +if(_OPTIONS["TOOLCHAIN"] == nil) then + _OPTIONS['TOOLCHAIN'] = "" +end + GEN_DIR = MAME_BUILD_DIR .. "generated/" if (_OPTIONS["target"] == nil) then return false end |