scripts/target_config_lib.lua: rename extra_packages to default_packages
This commit is contained in:
parent
3f05204c3b
commit
4653e49b56
@ -6,7 +6,7 @@ return function(funcs)
|
|||||||
assert(env.SUBTARGET)
|
assert(env.SUBTARGET)
|
||||||
|
|
||||||
local target = arg[1]
|
local target = arg[1]
|
||||||
local extra_packages = arg[2]
|
local default_packages = arg[2]
|
||||||
|
|
||||||
local openwrt_config_target
|
local openwrt_config_target
|
||||||
if env.SUBTARGET ~= '' then
|
if env.SUBTARGET ~= '' then
|
||||||
@ -30,7 +30,7 @@ END_MAKE
|
|||||||
|
|
||||||
lib.include('generic')
|
lib.include('generic')
|
||||||
lib.include('generic_' .. env.FOREIGN_BUILD)
|
lib.include('generic_' .. env.FOREIGN_BUILD)
|
||||||
for pkg in string.gmatch(extra_packages, '%S+') do
|
for pkg in string.gmatch(default_packages, '%S+') do
|
||||||
lib.packages {pkg}
|
lib.packages {pkg}
|
||||||
end
|
end
|
||||||
lib.include(target)
|
lib.include(target)
|
||||||
|
Loading…
Reference in New Issue
Block a user