summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-08-12 18:27:54 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-08-12 18:27:54 +0200
commit4f84793a055bd6f43623ffa9b8a5c0d2d8cfde27 (patch)
tree1cb7d8840d583551b8546c1c1d32765bd8322f5e /scripts/genie.lua
parent41e4133d0bea0b0cbef328ce285fbf9e628e5093 (diff)
made proper formats compiled only if needed (nw)
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 83f484d2984..3f6455a5cf8 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -94,6 +94,7 @@ SOUNDS = {}
MACHINES = {}
VIDEOS = {}
BUSES = {}
+FORMATS = {}
newoption {
trigger = "with-tools",
@@ -1320,6 +1321,13 @@ if (not os.isfile(path.join("src", "osd", _OPTIONS["osd"] .. ".lua"))) then
end
dofile(path.join("src", "osd", _OPTIONS["osd"] .. ".lua"))
dofile(path.join("src", "lib.lua"))
+if (MACHINES["NETLIST"]~=null or _OPTIONS["with-tools"]) then
+dofile(path.join("src", "netlist.lua"))
+end
+--if (STANDALONE~=true) then
+dofile(path.join("src", "formats.lua"))
+formatsProject(_OPTIONS["target"],_OPTIONS["subtarget"])
+--end
group "3rdparty"
dofile(path.join("src", "3rdparty.lua"))