]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/otg/Makefile
USB: otg: sharable otg transceiver ops
[linux-2.6-omap-h63xx.git] / drivers / usb / otg / Makefile
index 6c58b36ca7cf13733be4a89aee84a13c96004480..7c80fc379e6a09085d21356602b8f04ec3e65616 100644 (file)
@@ -2,12 +2,13 @@
 # OTG infrastructure and transceiver drivers
 #
 
+# infrastructure
+obj-$(CONFIG_USB_OTG_UTILS)    += otg.o
+
+# transceiver drivers
 obj-$(CONFIG_USB_GPIO_VBUS)    += gpio_vbus.o
 obj-$(CONFIG_ISP1301_OMAP)     += isp1301_omap.o
 
-ifeq ($(CONFIG_USB_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-else ifeq ($(CONFIG_USB_GADGET_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_USB_DEBUG)    += -DDEBUG
+ccflags-$(CONFIG_USB_GADGET_DEBUG) += -DDEBUG