summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/target.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/target.mk b/include/target.mk
index 61ff2d2..5eb8547 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -148,7 +148,9 @@ ifeq ($(DUMP),1)
FEATURES += pcie
endif
ifneq ($(CONFIG_USB)$(CONFIG_USB_SUPPORT),)
- FEATURES += usb
+ ifneq ($(CONFIG_USB_ARCH_HAS_HCD)$(CONFIG_USB_EHCI_HCD),)
+ FEATURES += usb
+ endif
endif
ifneq ($(CONFIG_PCMCIA)$(CONFIG_PCCARD),)
FEATURES += pcmcia