This commit assigns class-flags to devices. The following scheme is used: - ath9k & ath10k: tiny if RAM <128M - ath10k & ath10k: tiny if RAM <256M - all: tiny if RAM <64M - all: tiny if flash <8M All other devices automatically have the default device-class selected.
		
			
				
	
	
		
			53 lines
		
	
	
		
			805 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			53 lines
		
	
	
		
			805 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| config '# CONFIG_KERNEL_KALLSYMS is not set'
 | |
| config 'CONFIG_GLUON_SPECIALIZE_KERNEL=y'
 | |
| 
 | |
| 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,
 | |
| })
 |