From: Greg KH To: Marcelo Tosatti Cc: linux-usb-devel@lists.sourceforge.net Subject: [PATCH 6 of 6] USB build file updates Hi, Here's a patch against 2.4.18-pre2 that updates the USB configuration to show that SCSI support is needed by the usb-storage driver, and it cleans up the USB makefile and adds the ov511 driver to the list of modules that exports symbols. thanks, greg k-h diff -Nru a/drivers/usb/Config.in b/drivers/usb/Config.in --- a/drivers/usb/Config.in Tue Jan 8 09:48:28 2002 +++ b/drivers/usb/Config.in Tue Jan 8 09:48:28 2002 @@ -32,6 +32,9 @@ comment 'USB Device Class drivers' dep_tristate ' USB Audio support' CONFIG_USB_AUDIO $CONFIG_USB $CONFIG_SOUND dep_tristate ' USB Bluetooth support (EXPERIMENTAL)' CONFIG_USB_BLUETOOTH $CONFIG_USB $CONFIG_EXPERIMENTAL +if [ "$CONFIG_SCSI" = "n" ]; then + comment ' SCSI support is needed for USB Storage' +fi dep_tristate ' USB Mass Storage support' CONFIG_USB_STORAGE $CONFIG_USB $CONFIG_SCSI dep_mbool ' USB Mass Storage verbose debug' CONFIG_USB_STORAGE_DEBUG $CONFIG_USB_STORAGE dep_mbool ' Datafab MDCFE-B Compact Flash Reader support' CONFIG_USB_STORAGE_DATAFAB $CONFIG_USB_STORAGE $CONFIG_EXPERIMENTAL diff -Nru a/drivers/usb/Makefile b/drivers/usb/Makefile --- a/drivers/usb/Makefile Tue Jan 8 09:48:28 2002 +++ b/drivers/usb/Makefile Tue Jan 8 09:48:28 2002 @@ -10,19 +10,13 @@ # Objects that export symbols. -export-objs := usb.o +export-objs := usb.o ov511.o pwc-uncompress.o # Multipart objects. -list-multi := usbcore.o hid.o +list-multi := usbcore.o hid.o pwc.o usbcore-objs := usb.o usb-debug.o hub.o hid-objs := hid-core.o hid-input.o - -ifneq ($(CONFIG_USB_PWC),n) - export-objs += pwc-uncompress.o - list-multi += pwc.o -endif - pwc-objs := pwc-if.o pwc-misc.o pwc-ctrl.o pwc-uncompress.o