patch-2.2.8 linux/drivers/usb/Makefile
Next file: linux/drivers/usb/README.ohci
Previous file: linux/drivers/usb/Config.in
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon May 10 10:18:34 1999
- Orig file:
v2.2.7/linux/drivers/usb/Makefile
- Orig date:
Wed Apr 28 11:37:30 1999
diff -u --recursive --new-file v2.2.7/linux/drivers/usb/Makefile linux/drivers/usb/Makefile
@@ -59,7 +59,17 @@
endif
endif
-
+ifeq ($(CONFIG_USB_OHCI_HCD),y)
+ ifeq ($(CONFIG_USB), y)
+ L_OBJS += ohci-hcd.o ohci-root-hub.o
+ else
+ ifeq ($(CONFIG_USB),m)
+ USBO_OBJS += ohci-hcd.o ohci-root-hub.o
+ M_OBJS += usb-ohci-hcd.o
+ MIX_OBJS += $(USBX_OBJS)
+ endif
+ endif
+endif
include $(TOPDIR)/Rules.make
keymap.o: keymap.c
@@ -73,3 +83,6 @@
usb-ohci.o: ohci.o ohci-debug.o $(USBX_OBJS)
$(LD) $(LD_RFLAG) -r -o $@ ohci.o ohci-debug.o $(USBX_OBJS)
+usb-ohci-hcd.o: ohci-hcd.o ohci-root-hub.o $(USBX_OBJS)
+ $(LD) $(LD_RFLAG) -r -o $@ ohci-hcd.o ohci-root-hub.o $(USBX_OBJS)
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)