build: remove no_opkg
With the removal of ramips-rt305x, all targets come with opkg again.
This commit is contained in:
parent
c23bc293ef
commit
aed14db84f
@ -83,7 +83,7 @@ lib.exec {'cp', kernel_debug_source, kernel_debug_dest}
|
||||
|
||||
|
||||
-- Copy opkg repo
|
||||
if lib.opkg and (env.GLUON_DEVICES or '') == '' then
|
||||
if (env.GLUON_DEVICES or '') == '' then
|
||||
local package_prefix = string.format('gluon-%s-%s', lib.site_code, env.GLUON_RELEASE)
|
||||
local function dest_dir(prefix)
|
||||
return env.GLUON_PACKAGEDIR..'/'..prefix..'/'..bindir
|
||||
|
@ -151,13 +151,6 @@ lib.include(target)
|
||||
|
||||
lib.check_devices()
|
||||
|
||||
if not lib.opkg then
|
||||
lib.config('SIGNED_PACKAGES', false)
|
||||
lib.config('CLEAN_IPKG', true)
|
||||
lib.config('ALL_NONSHARED', false)
|
||||
lib.packages {'-opkg'}
|
||||
end
|
||||
|
||||
if #lib.devices > 0 then
|
||||
handle_target_pkgs(lib.target_packages)
|
||||
|
||||
|
@ -28,7 +28,6 @@ M.target_packages = {}
|
||||
M.configs = {}
|
||||
M.devices = {}
|
||||
M.images = {}
|
||||
M.opkg = true
|
||||
|
||||
|
||||
local default_options = {
|
||||
@ -309,10 +308,6 @@ function F.sysupgrade_image(image, name, ext, options)
|
||||
}
|
||||
end
|
||||
|
||||
function F.no_opkg()
|
||||
M.opkg = false
|
||||
end
|
||||
|
||||
function F.defaults(options)
|
||||
default_options = merge(default_options, options)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user