mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36: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
|
set(SRCS qemu_boot.c qemu_serial.c qemu_irq.c qemu_timer.c qemu_memorymap.c)
|
||||||
qemu_idle.c)
|
|
||||||
|
|
||||||
if(CONFIG_SMP)
|
if(CONFIG_SMP)
|
||||||
list(APPEND SRCS qemu_cpuboot.c)
|
list(APPEND SRCS qemu_cpuboot.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CONFIG_ARCH_IDLE_CUSTOM)
|
||||||
|
list(APPEND SRCS qemu_idle.c)
|
||||||
|
endif()
|
||||||
|
|
||||||
target_sources(arch PRIVATE ${SRCS})
|
target_sources(arch PRIVATE ${SRCS})
|
||||||
|
|||||||
Reference in New Issue
Block a user