mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 13:08:26 +00:00
riscv/qemu: add CMake for NuttSBI
This allows building NuttSBI based kernel image with CMake so that to support out-of-tree building. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
parent
6c97a8f468
commit
34a30e577e
1 changed files with 3 additions and 1 deletions
|
|
@ -31,9 +31,11 @@ endif()
|
|||
target_sources(board PRIVATE ${SRCS})
|
||||
|
||||
if(CONFIG_ARCH_CHIP_QEMU_RV)
|
||||
|
||||
if(CONFIG_BUILD_KERNEL)
|
||||
set(LDFILE ld-kernel.script)
|
||||
if(CONFIG_NUTTSBI)
|
||||
set(LDFILE ld-nuttsbi.script)
|
||||
endif()
|
||||
else()
|
||||
set(LDFILE ld.script)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue