summaryrefslogtreecommitdiff
path: root/xmake/scripts/platform/platform.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-06-10 14:57:51 +0800
committerruki <[email protected]>2015-06-10 14:57:56 +0800
commit112bd89dfd816cac735e447e41de0ff9c5687390 (patch)
tree64cb4a58b97e4ed2f60c5a77c8b54368887c6559 /xmake/scripts/platform/platform.lua
parent5621d811df57824463d48c41c8a9ffa26864d293 (diff)
remove wrap config for prober
Diffstat (limited to 'xmake/scripts/platform/platform.lua')
-rw-r--r--xmake/scripts/platform/platform.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/scripts/platform/platform.lua b/xmake/scripts/platform/platform.lua
index 35ce7f9f1..07981c40a 100644
--- a/xmake/scripts/platform/platform.lua
+++ b/xmake/scripts/platform/platform.lua
@@ -336,7 +336,7 @@ function platform.menu(action)
end
-- probe the platform configure
-function platform.probe(configs, is_global)
+function platform.probe(is_global)
-- probe global
if is_global then
@@ -349,7 +349,7 @@ function platform.probe(configs, is_global)
for _, plat in ipairs(plats) do
local module = platform._load(plat)
if module and module._PROBER and module._PROBER.global and module._HOST and module._HOST == xmake._HOST then
- module._PROBER.global(configs)
+ module._PROBER.global()
end
end
@@ -358,7 +358,7 @@ function platform.probe(configs, is_global)
-- probe it
local module = platform.module()
if module and module._PROBER and module._PROBER.config then
- module._PROBER.config(configs)
+ module._PROBER.config()
end
end
end