aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-03-25 15:04:44 +0000
committerLars-Peter Clausen <lars@metafoo.de>2010-03-25 15:04:44 +0000
commit474e2e2ee59e41a7b5be81aa3bffa93f45a0189f (patch)
tree46ab4a795a69529c4d3e431d7f5836c0354261d6 /include
parentea4617f2bec48fd9305de6b2b354a045b3405c40 (diff)
downloadupstream-474e2e2ee59e41a7b5be81aa3bffa93f45a0189f.tar.gz
upstream-474e2e2ee59e41a7b5be81aa3bffa93f45a0189f.tar.bz2
upstream-474e2e2ee59e41a7b5be81aa3bffa93f45a0189f.zip
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
Diffstat (limited to 'include')
-rw-r--r--include/target.mk4
1 files changed, 3 insertions, 1 deletions
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