blob: bcf7f4064c44dd7cd75ae6a447cf17c9cf7bd3a0 [file] [log] [blame]
#
# Makefile for the Marvell USB device controller
#
ifeq ($(CONFIG_ARCH_FEROCEON),y)
include $(srctree)/$(MACHINE)/config/mvRules.mk
endif
USB_DIR := ../mv_hal/usb/
USB_PATH := $(srctree)/arch/arm/plat-feroceon/mv_hal/usb
USB_DEV_DIR := $(USB_DIR)/device
EXTRA_CFLAGS += -I$(USB_PATH)/api -I$(USB_PATH)/common -I$(USB_PATH)/device
OBJS := mv_udc_main.o ../$(USB_DEV_DIR)/mvUsbDevCh9.o ../$(USB_DEV_DIR)/mvUsbDevMain.o \
../$(USB_DEV_DIR)/mvUsbDevRecv.o ../$(USB_DEV_DIR)/mvUsbDevSend.o ../$(USB_DEV_DIR)/mvUsbDevUtl.o \
../$(USB_DEV_DIR)/mvUsbHsDevUtl.o ../$(USB_DEV_DIR)/mvUsbHsDevMain.o ../$(USB_DEV_DIR)/mvUsbHsDevCncl.o
mv_udc-objs := $(OBJS)
obj-m := mv_udc.o