scripts/target_config_lib.lua: make arg[3] optional

by defaulting to nil
This commit is contained in:
Sven Roederer 2020-03-03 22:46:02 +01:00 committed by Sven Roederer
parent 59d1653be6
commit 7431b3916c

View File

@ -7,7 +7,7 @@ return function(funcs)
local target = arg[1]
local default_packages = arg[2]
local extra_packages = arg[3]
local extra_packages = arg[3] or ""
local openwrt_config_target
if env.SUBTARGET ~= '' then