3ce43329f5
target_config.lua and target_config_check.lua don't pass a table of callbacks anymore, so target_config_lib.lua can by simplified by moving all the code that was in the returned function to the toplevel.
53 lines
791 B
Plaintext
53 lines
791 B
Plaintext
config('KERNEL_KALLSYMS', false)
|
|
config('GLUON_SPECIALIZE_KERNEL', true)
|
|
|
|
no_opkg()
|
|
|
|
defaults {
|
|
class = 'tiny', -- 32M RAM
|
|
}
|
|
|
|
local STRIP_USB_PACKAGES = {
|
|
'-kmod-usb-core',
|
|
'-kmod-usb-dwc2',
|
|
'-kmod-usb-ledtrig-usbport',
|
|
}
|
|
|
|
|
|
-- A5
|
|
|
|
device('a5-v11', 'a5-v11', {
|
|
deprecated = true, -- 4/32
|
|
packages = STRIP_USB_PACKAGES,
|
|
})
|
|
|
|
|
|
-- D-Link
|
|
|
|
device('d-link-dir-615-h1', 'dir-615-h1', {
|
|
deprecated = true, -- 4/32
|
|
packages = STRIP_USB_PACKAGES,
|
|
})
|
|
|
|
device('d-link-dir-615-d', 'dir-615-d', {
|
|
aliases = {
|
|
'd-link-dir-615-d1',
|
|
'd-link-dir-615-d2',
|
|
'd-link-dir-615-d3',
|
|
'd-link-dir-615-d4',
|
|
},
|
|
deprecated = true, -- 4/32
|
|
packages = STRIP_USB_PACKAGES,
|
|
})
|
|
|
|
|
|
-- VoCore
|
|
|
|
device('vocore-8M', 'vocore-8M', {
|
|
factory = false,
|
|
})
|
|
|
|
device('vocore-16M', 'vocore-16M', {
|
|
factory = false,
|
|
})
|