diff options
author | 2015-11-02 21:05:34 -0600 | |
---|---|---|
committer | 2016-02-15 12:09:35 -0600 | |
commit | 36df7413dce0897215d3e01e54ac5334bb65d965 (patch) | |
tree | cd39de38a12b851bafcf992aec2d488ab80f8247 /scripts/genie.lua | |
parent | 4e7f9e86e81af80de19f90b50632a1b579d9e4c3 (diff) |
add TOOLCHAIN make flag for explicit toolchain prefix cross compiling (nw)
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 |