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:
Alberto Escolar Piedras 2024-04-24 14:01:42 +02:00 committed by Fabio Baltieri
parent b304c26c10
commit 076594fc1c
3 changed files with 1 additions and 8 deletions

View file

@ -37,10 +37,6 @@ config UART_CONSOLE
endif # CONSOLE
config USB_NATIVE_POSIX
default y
depends on USB_DEVICE_DRIVER
if I2C
config EMUL

View file

@ -37,10 +37,6 @@ config UART_CONSOLE
endif # CONSOLE
config USB_NATIVE_POSIX
default y
depends on USB_DEVICE_DRIVER
if I2C
config EMUL

View file

@ -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.