ath79: add XM device variant for Ubiquiti devices
So far, XW devices have DEVICE_VARIANT defined and XM devices have no DEVICE_VARIANT set. This adds DEVICE_VARIANT for XM devices, and moves definitions for both XM and XW to the common definitions. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
		 Adrian Schmutzler
					Adrian Schmutzler
				
			
				
					committed by
					
						 Petr Štetiar
						Petr Štetiar
					
				
			
			
				
	
			
			
			 Petr Štetiar
						Petr Štetiar
					
				
			
						parent
						
							7140394903
						
					
				
				
					commit
					425e0bd19a
				
			| @@ -46,6 +46,7 @@ endef | |||||||
|  |  | ||||||
| define Device/ubnt-xm | define Device/ubnt-xm | ||||||
|   $(Device/ubnt) |   $(Device/ubnt) | ||||||
|  |   DEVICE_VARIANT := XM | ||||||
|   DEVICE_PACKAGES += kmod-usb-ohci rssileds |   DEVICE_PACKAGES += kmod-usb-ohci rssileds | ||||||
|   UBNT_TYPE := XM |   UBNT_TYPE := XM | ||||||
|   UBNT_CHIP := ar7240 |   UBNT_CHIP := ar7240 | ||||||
| @@ -71,6 +72,7 @@ endef | |||||||
|  |  | ||||||
| define Device/ubnt-xw | define Device/ubnt-xw | ||||||
|   $(Device/ubnt) |   $(Device/ubnt) | ||||||
|  |   DEVICE_VARIANT := XW | ||||||
|   UBNT_TYPE := XW |   UBNT_TYPE := XW | ||||||
|   UBNT_CHIP := ar934x |   UBNT_CHIP := ar934x | ||||||
|   UBNT_BOARD := XM |   UBNT_BOARD := XM | ||||||
| @@ -96,7 +98,6 @@ TARGET_DEVICES += ubnt_bullet-m | |||||||
| define Device/ubnt_bullet-m-xw | define Device/ubnt_bullet-m-xw | ||||||
|   $(Device/ubnt-xw) |   $(Device/ubnt-xw) | ||||||
|   DEVICE_MODEL := Bullet-M |   DEVICE_MODEL := Bullet-M | ||||||
|   DEVICE_VARIANT := XW |  | ||||||
|   SUPPORTED_DEVICES += bullet-m-xw |   SUPPORTED_DEVICES += bullet-m-xw | ||||||
| endef | endef | ||||||
| TARGET_DEVICES += ubnt_bullet-m-xw | TARGET_DEVICES += ubnt_bullet-m-xw | ||||||
| @@ -118,7 +119,6 @@ TARGET_DEVICES += ubnt_nanostation-m | |||||||
| define Device/ubnt_nanostation-m-xw | define Device/ubnt_nanostation-m-xw | ||||||
|   $(Device/ubnt-xw) |   $(Device/ubnt-xw) | ||||||
|   DEVICE_MODEL := Nanostation M |   DEVICE_MODEL := Nanostation M | ||||||
|   DEVICE_VARIANT := XW |  | ||||||
|   SUPPORTED_DEVICES += nano-m-xw |   SUPPORTED_DEVICES += nano-m-xw | ||||||
| endef | endef | ||||||
| TARGET_DEVICES += ubnt_nanostation-m-xw | TARGET_DEVICES += ubnt_nanostation-m-xw | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user