Boards that do not include an USB controller should not provide USB devices. However, when running "qemu-system-s390x -device help" for example, there's still a usb-hub, usb-kbd, usb-mouse and usb-tablet in the list of "supported" devices. Let's fix that by compiling and linking the USB files only if it is really necessary. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
		
			
				
	
	
		
			11 lines
		
	
	
		
			220 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			220 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
CONFIG_USB=y
 | 
						|
CONFIG_USB_TABLET_WACOM=y
 | 
						|
CONFIG_USB_STORAGE_BOT=y
 | 
						|
CONFIG_USB_STORAGE_UAS=y
 | 
						|
CONFIG_USB_STORAGE_MTP=y
 | 
						|
CONFIG_USB_SMARTCARD=y
 | 
						|
CONFIG_USB_AUDIO=y
 | 
						|
CONFIG_USB_SERIAL=y
 | 
						|
CONFIG_USB_NETWORK=y
 | 
						|
CONFIG_USB_BLUETOOTH=y
 |