rptun/ivshmem: RPTUN_IVSHMEM should depends on DEV_SIMPLE_ADDRENV

fix build break:

ld: drivers/libdrivers.a(rptun_ivshmem.c.obj): in function `rptun_ivshmem_get_resource':
nuttx/drivers/rptun/rptun_ivshmem.c:215:(.text.rptun_ivshmem_get_resource+0xfc): undefined reference to `simple_addrenv_initialize'
ld: openamp/libmetal/lib/libmetal.a(io.c.obj): in function `metal_io_phys_to_offset_':
nuttx/openamp/libmetal/lib/system/nuttx/io.c:112:(.text.metal_io_phys_to_offset_+0xc): undefined reference to `up_addrenv_pa_to_va'

Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
chao an
2025-02-07 14:15:16 +08:00
committed by GUIDINGLI
parent c3426325d8
commit b001b61401
+1 -1
View File
@@ -24,7 +24,7 @@ config RPTUN_BMP
config RPTUN_IVSHMEM
bool "rptun ivshmem support"
default n
depends on PCI_IVSHMEM
depends on PCI_IVSHMEM && DEV_SIMPLE_ADDRENV
---help---
This is rptun driver based on pci ivshmem.