usb: dwc3: Kconfig: allow all glues to build if COMPILE_TEST

We shouldn't have any glue layer which doesn't
compile everywhere. In order to make sure this is
always the case, make sure COMPILE_TEST is properly
added at dependency list of a config entry.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
Felipe Balbi 2016-09-30 15:01:45 +03:00
parent 57b14da562
commit ba1773fb7d

View file

@ -62,7 +62,7 @@ config USB_DWC3_OMAP
config USB_DWC3_EXYNOS config USB_DWC3_EXYNOS
tristate "Samsung Exynos Platform" tristate "Samsung Exynos Platform"
depends on ARCH_EXYNOS && OF || COMPILE_TEST depends on (ARCH_EXYNOS || COMPILE_TEST) && OF
default USB_DWC3 default USB_DWC3
help help
Recent Exynos5 SoCs ship with one DesignWare Core USB3 IP inside, Recent Exynos5 SoCs ship with one DesignWare Core USB3 IP inside,
@ -98,7 +98,7 @@ config USB_DWC3_OF_SIMPLE
config USB_DWC3_ST config USB_DWC3_ST
tristate "STMicroelectronics Platforms" tristate "STMicroelectronics Platforms"
depends on ARCH_STI && OF depends on (ARCH_STI || COMPILE_TEST) && OF
default USB_DWC3 default USB_DWC3
help help
STMicroelectronics SoCs with one DesignWare Core USB3 IP STMicroelectronics SoCs with one DesignWare Core USB3 IP