summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author David Haywood <mamehaze@users.noreply.github.com>2015-10-09 14:30:50 +0100
committer David Haywood <mamehaze@users.noreply.github.com>2015-10-09 14:30:50 +0100
commit8c3375affa313bb841d993d705a370f0999c57a4 (patch)
tree8acf6b6cf471dc3b9d644155340d2ba35cb46643 /scripts/genie.lua
parentfb989bb821f049bc41d537a0421e73b8798d48ac (diff)
parentfeef4e980ecc5d2d08cd9c40d1e6f081896fc786 (diff)
Merge branch 'master' of https://github.com/mamedev/mame
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 5935b8b1bc5..475c110ecb5 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -370,8 +370,8 @@ newoption {
}
newoption {
- trigger = "DRIVERS",
- description = "List of drivers to compile.",
+ trigger = "SOURCES",
+ description = "List of sources to compile.",
}
newoption {
@@ -516,15 +516,15 @@ msgarchiving ("Archiving $(notdir $@)...")
messageskip { "SkipCreatingMessage", "SkipBuildingMessage", "SkipCleaningMessage" }
-if (_OPTIONS["DRIVERS"] == nil) then
+if (_OPTIONS["SOURCES"] == nil) then
if (not os.isfile(path.join("target", _OPTIONS["target"],_OPTIONS["subtarget"] .. ".lua"))) then
error("File definition for TARGET=" .. _OPTIONS["target"] .. " SUBTARGET=" .. _OPTIONS["subtarget"] .. " does not exist")
end
dofile (path.join("target", _OPTIONS["target"],_OPTIONS["subtarget"] .. ".lua"))
else
- OUT_STR = os.outputof( PYTHON .. " " .. MAME_DIR .. "scripts/build/makedep.py " .. MAME_DIR .. " " .. _OPTIONS["DRIVERS"] .. " target " .. _OPTIONS["subtarget"])
+ OUT_STR = os.outputof( PYTHON .. " " .. MAME_DIR .. "scripts/build/makedep.py " .. MAME_DIR .. " " .. _OPTIONS["SOURCES"] .. " target " .. _OPTIONS["subtarget"])
load(OUT_STR)()
- os.outputof( PYTHON .. " " .. MAME_DIR .. "scripts/build/makedep.py " .. MAME_DIR .. " " .. _OPTIONS["DRIVERS"] .. " drivers " .. _OPTIONS["subtarget"] .. " > ".. GEN_DIR .. _OPTIONS["target"] .. "/" .. _OPTIONS["subtarget"].."/drivlist.c")
+ os.outputof( PYTHON .. " " .. MAME_DIR .. "scripts/build/makedep.py " .. MAME_DIR .. " " .. _OPTIONS["SOURCES"] .. " drivers " .. _OPTIONS["subtarget"] .. " > ".. GEN_DIR .. _OPTIONS["target"] .. "/" .. _OPTIONS["subtarget"].."/drivlist.c")
end
configuration { "gmake" }
flags {