mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
nuttx/qemu: Fix funciton up_idle multiple definition
Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
This commit is contained in:
@@ -22,8 +22,11 @@ include armv7-a/Make.defs
|
|||||||
|
|
||||||
# qemu-specific C source files
|
# qemu-specific C source files
|
||||||
CHIP_CSRCS = qemu_boot.c qemu_serial.c qemu_irq.c qemu_timer.c qemu_memorymap.c
|
CHIP_CSRCS = qemu_boot.c qemu_serial.c qemu_irq.c qemu_timer.c qemu_memorymap.c
|
||||||
CHIP_CSRCS += qemu_idle.c
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_SMP),y)
|
ifeq ($(CONFIG_SMP),y)
|
||||||
CHIP_CSRCS += qemu_cpuboot.c
|
CHIP_CSRCS += qemu_cpuboot.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_ARCH_IDLE_CUSTOM),y)
|
||||||
|
CHIP_CSRCS += qemu_idle.c
|
||||||
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user