USB_NATIVE_POSIX: Correct dependencies
USB_NATIVE_POSIX dependencies were partially broken for native_sim as the option was duplicated in the boards defconfigas. Let's not define it also in the board Kconfig.defconfig but instead default it to y in its main definition if building for either native_posix[//64] or native_sim[//64] Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
b304c26c10
commit
076594fc1c
|
@ -37,10 +37,6 @@ config UART_CONSOLE
|
|||
|
||||
endif # CONSOLE
|
||||
|
||||
config USB_NATIVE_POSIX
|
||||
default y
|
||||
depends on USB_DEVICE_DRIVER
|
||||
|
||||
if I2C
|
||||
|
||||
config EMUL
|
||||
|
|
|
@ -37,10 +37,6 @@ config UART_CONSOLE
|
|||
|
||||
endif # CONSOLE
|
||||
|
||||
config USB_NATIVE_POSIX
|
||||
default y
|
||||
depends on USB_DEVICE_DRIVER
|
||||
|
||||
if I2C
|
||||
|
||||
config EMUL
|
||||
|
|
|
@ -225,6 +225,7 @@ endif # USB_DC_NUMAKER
|
|||
config USB_NATIVE_POSIX
|
||||
bool "Native Posix USB Device Controller Driver"
|
||||
depends on ARCH_POSIX && EXTERNAL_LIBC
|
||||
default y if BOARD_NATIVE_SIM || BOARD_NATIVE_POSIX
|
||||
help
|
||||
Native Posix USB Device Controller Driver.
|
||||
|
||||
|
|
Loading…
Reference in a new issue