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

SVN-Revision: 20425
v19.07.3_mercusys_ac12_duma
Lars-Peter Clausen 14 years ago
parent 141f9e3bbd
commit 2bc9d6f6e9

@ -148,8 +148,10 @@ ifeq ($(DUMP),1)
FEATURES += pcie
endif
ifneq ($(CONFIG_USB)$(CONFIG_USB_SUPPORT),)
ifneq ($(CONFIG_USB_ARCH_HAS_HCD)$(CONFIG_USB_EHCI_HCD),)
FEATURES += usb
endif
endif
ifneq ($(CONFIG_PCMCIA)$(CONFIG_PCCARD),)
FEATURES += pcmcia
endif

Loading…
Cancel
Save