patch-2.4.27 linux-2.4.27/drivers/usb/gadget/Makefile

Next file: linux-2.4.27/drivers/usb/gadget/config.c
Previous file: linux-2.4.27/drivers/usb/gadget/Config.in
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/drivers/usb/gadget/Makefile linux-2.4.27/drivers/usb/gadget/Makefile
@@ -16,13 +16,17 @@
 controller-$(CONFIG_USB_GOKU)		+= goku_udc.o
 
 # ... and only one of these, too; kbuild/kconfig don't help though.
-g_zero-objs			:= zero.o usbstring.o config.o
+g_zero-objs			:= zero.o usbstring.o config.o epautoconf.o
 obj-$(CONFIG_USB_ZERO)		+= g_zero.o
 
-g_ether-objs			:= ether.o usbstring.o config.o
+g_ether-objs			:= ether.o usbstring.o config.o epautoconf.o
+ifeq ($(CONFIG_USB_ETH_RNDIS),y)
+	g_ether-objs            += rndis.o
+endif
 obj-$(CONFIG_USB_ETH)		+= g_ether.o
 
-g_file_storage-objs		:= file_storage.o usbstring.o
+g_file_storage-objs		:= file_storage.o usbstring.o config.o \
+						epautoconf.o
 obj-$(CONFIG_USB_FILE_STORAGE)	+= g_file_storage.o
 
 export-objs :=			$(controller-y) $(controller-m)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)