X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Ftarget.mk;h=5eb8547cc2ec5c8f0404490887e9f0dc2813d899;hb=e5e096618634f2098d0a533cfce004279107c39f;hp=2bfb702788d668a46d6a73b320d35738229355e5;hpb=ea41d3a2881e925e4a8cd74b214fb3f836b1e386;p=openwrt%2Fopenwrt.git diff --git a/include/target.mk b/include/target.mk index 2bfb702788..5eb8547cc2 100644 --- a/include/target.mk +++ b/include/target.mk @@ -12,7 +12,7 @@ __target_inc=1 DEVICE_TYPE?=router # Default packages - the really basic set -DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg ucitrigger +DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg # For router targets DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper firewall DEFAULT_PACKAGES.bootloader:= @@ -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