From 2bc9d6f6e9e25fccd3fc0ac63413cae925f803cf Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Thu, 25 Mar 2010 15:04:44 +0000 Subject: [PATCH] include/target.mk: Only set usb feature flag for a target if there is a HCD SVN-Revision: 20425 --- include/target.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/target.mk b/include/target.mk index 61ff2d21aa..5eb8547cc2 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