include/target.mk: Only set usb feature flag for a target if there is a HCD

SVN-Revision: 20425
owl
Lars-Peter Clausen 2010-03-25 15:04:44 +00:00
parent 141f9e3bbd
commit 2bc9d6f6e9
1 changed files with 3 additions and 1 deletions

View File

@ -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