mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
arch/qemu-armv7a: kernel mode cmake support
This allows to build kernel mode NuttX with cmake. Signed-off-by: Yanfeng Liu <p-liuyanfeng9@xiaomi.com>
This commit is contained in:
@@ -30,4 +30,8 @@ if(CONFIG_ARCH_IDLE_CUSTOM)
|
||||
list(APPEND SRCS qemu_idle.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_BUILD_KERNEL)
|
||||
list(APPEND SRCS qemu_pgalloc.c)
|
||||
endif()
|
||||
|
||||
target_sources(arch PRIVATE ${SRCS})
|
||||
|
||||
Reference in New Issue
Block a user