kernel: mark kmod-usb-phy-nop as hidden to avoid building it where it is not needed

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40470
This commit is contained in:
Felix Fietkau 2014-04-12 15:43:17 +00:00
parent 0d7e8ba3a9
commit d80333bae3

View File

@ -102,6 +102,7 @@ $(eval $(call KernelPackage,usb-musb-tusb6010))
define KernelPackage/usb-phy-nop define KernelPackage/usb-phy-nop
TITLE:=Support for USB NOP transceiver TITLE:=Support for USB NOP transceiver
KCONFIG:=CONFIG_NOP_USB_XCEIV KCONFIG:=CONFIG_NOP_USB_XCEIV
HIDDEN:=1
ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/phy/phy-generic.ko),) ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/phy/phy-generic.ko),)
FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-generic.ko FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-generic.ko
AUTOLOAD:=$(call AutoLoad,43,phy-generic) AUTOLOAD:=$(call AutoLoad,43,phy-generic)