scripts/target_config_check.lua:add some debug

This commit is contained in:
Sven Roederer 2020-03-02 02:13:29 +01:00 committed by Sven Roederer
parent eba6c3ae56
commit 59d1653be6

View File

@ -21,6 +21,7 @@ local function match_config(f)
end
local function check_config(pattern)
io.stderr:write(string.format("target_config_check.lua:check_config()# %s\n", pattern))
return match_config(function(line) return line == pattern end)
end
@ -53,6 +54,8 @@ function funcs.config_package(_, pkg, value)
end
end
io.stderr:write("This is target_config_check.lua\n")
local lib = dofile('scripts/target_config_lib.lua')(funcs)
for config, v in pairs(lib.configs) do