summaryrefslogtreecommitdiff
path: root/drivers/otg/hardware/Makefile-imx31ads-l26
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/otg/hardware/Makefile-imx31ads-l26')
-rw-r--r--drivers/otg/hardware/Makefile-imx31ads-l2635
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/otg/hardware/Makefile-imx31ads-l26 b/drivers/otg/hardware/Makefile-imx31ads-l26
new file mode 100644
index 000000000000..cc35de2e7434
--- /dev/null
+++ b/drivers/otg/hardware/Makefile-imx31ads-l26
@@ -0,0 +1,35 @@
+#
+# @(#) sl@belcarra.com/whiskey.enposte.net|otg/platform/imx31ads/Makefile-imx31ads-l26|20070615010012|14157
+# Copyright (c) 2005 Belcarra
+# Copyright (c) 2005-2006 Belcarra Technologies 2005 Corp
+
+#OTG=$(TOPDIR)/drivers/otg
+#OTGCORE_DIR=$(OTG)/otgcore
+#USBCORE=$(TOPDIR)/drivers/usb
+#EXTRA_CFLAGS += -I$(OTG) -Wno-unused -Wno-format -I$(USBCORE) -I$(OTGCORE_DIR) -I$(MXCATLASDIR)
+#EXTRA_CFLAGS_nostdinc += -I$(OTG) -Wno-unused -Wno-format -I$(USBCORE) -I$(OTGCORE_DIR) -I$(MXCATLASDIR)
+
+
+OTG=$(TOPDIR)/drivers/otg
+EXTRA_CFLAGS += -Wno-missing-prototypes -Wno-unused -Wno-format -I$(OTG)
+EXTRA_CFLAGS_nostdinc += -Wno-missing-prototypes -Wno-unused -Wno-format -I$(OTG)
+
+
+# #########################################################################################################
+
+#
+# USB Configurations - peripheral, host or both
+#
+# Produce imx31ads module.
+#
+
+ifeq ($(CONFIG_OTG_USB_PERIPHERAL),y)
+obj-$(CONFIG_OTG_IMX31ADS) += imx31ads_usb.o
+endif
+
+
+ximx31ads_usb-objs := imx31ads-l26.o otg-dev.o pcd.o arc-dev.o \
+ l26-ocd-dev.o l26-ocd.o arc-ocd.o arc-tcd.o arc-pcd.o
+
+imx31ads_usb-objs := imx31ads-l26.o otg-dev.o pcd.o arc-dev.o \
+ l26-ocd-dev.o l26-ocd.o arc-pcd.o