Skip to content
Snippets Groups Projects
Commit aed14db8 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

build: remove no_opkg

With the removal of ramips-rt305x, all targets come with opkg again.
parent c23bc293
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment