cmake: emu: qemu: do not enable CAN bus on NIOS2 and LEON3
QEMU for NIOS2 and LEON3 do not provide support for the "can-bus" object type. Skip configuring CAN bus command line arguments for these. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
7d2b4e1917
commit
b3b64e9ede
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ elseif(QEMU_NET_STACK)
|
|||
endif()
|
||||
endif(QEMU_PIPE_STACK)
|
||||
|
||||
if(CONFIG_CAN)
|
||||
if(CONFIG_CAN AND NOT (CONFIG_NIOS2 OR CONFIG_SOC_LEON3))
|
||||
# Add CAN bus 0
|
||||
list(APPEND QEMU_FLAGS -object can-bus,id=canbus0)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue