mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 17:18:28 +08:00
nuttx/qemu: Fix funciton up_idle multiple definition
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
@@ -18,11 +18,14 @@
|
||||
#
|
||||
# ##############################################################################
|
||||
|
||||
set(SRCS qemu_boot.c qemu_serial.c qemu_irq.c qemu_timer.c qemu_memorymap.c
|
||||
qemu_idle.c)
|
||||
set(SRCS qemu_boot.c qemu_serial.c qemu_irq.c qemu_timer.c qemu_memorymap.c)
|
||||
|
||||
if(CONFIG_SMP)
|
||||
list(APPEND SRCS qemu_cpuboot.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_ARCH_IDLE_CUSTOM)
|
||||
list(APPEND SRCS qemu_idle.c)
|
||||
endif()
|
||||
|
||||
target_sources(arch PRIVATE ${SRCS})
|
||||
|
||||
Reference in New Issue
Block a user