From: lars Date: Thu, 25 Mar 2010 15:04:44 +0000 (+0000) Subject: include/target.mk: Only set usb feature flag for a target if there is a HCD X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=1c6727552a93c3f045e07dcd6de9e61d8a32280e include/target.mk: Only set usb feature flag for a target if there is a HCD git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20425 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/target.mk b/include/target.mk index 61ff2d21a..5eb8547cc 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