add DWC_DEVICE_ONLY MACRO

This commit is contained in:
yangkai
2011-05-20 14:41:35 +08:00
parent f2bdd004a1
commit e321972eac

View File

@@ -13,6 +13,9 @@ ifeq ($(CONFIG_DWC_OTG_HOST_ONLY),y)
EXTRA_CFLAGS += -DDWC_HOST_ONLY
endif
ifneq ($(CONFIG_USB),y)
EXTRA_CFLAGS += -DDWC_DEVICE_ONLY
endif
#ifeq ($(CONFIG_DWC_OTG_DEVICE_ONLY),y)
#EXTRA_CFLAGS += -DDWC_DEVICE_ONLY
#endif