scripts/target_config_lib.lua: improve debug

This commit is contained in:
Sven Roederer 2020-03-04 23:37:20 +01:00 committed by Sven Roederer
parent 2f3396d1eb
commit 15b7036f20

View File

@ -84,6 +84,8 @@ io.stderr:write(string.format("debug_a: %s\n", device_pkgs))
local profile = dev.options.profile or dev.name
local device_pkgs = devpkgs(dev)
io.stderr:write(string.format("debug: %s\n", device_pkgs))
local function handle_pkg(pkg)
if string.sub(pkg, 1, 1) ~= '-' then
funcs.config_package(lib.config, pkg, 'm')
@ -103,8 +105,6 @@ io.stderr:write(string.format("debug_a: %s\n", device_pkgs))
lib.config('CONFIG_TARGET_DEVICE_PACKAGES_%s_DEVICE_%s="%s"',
openwrt_config_target, profile, device_pkgs)
end
io.stderr:write(string.format('setting profile: %s="%s"\n',
profile, device_pkgs))
end