summaryrefslogtreecommitdiff
path: root/lib_mips/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib_mips/Makefile')
-rw-r--r--lib_mips/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib_mips/Makefile b/lib_mips/Makefile
index 817643795..7967e5803 100644
--- a/lib_mips/Makefile
+++ b/lib_mips/Makefile
@@ -28,7 +28,11 @@ LIB = $(obj)lib$(ARCH).a
SOBJS-y +=
COBJS-y += board.o
+ifeq ($(CONFIG_QEMU_MIPS),y)
+COBJS-y += bootm_qemu_mips.o
+else
COBJS-y += bootm.o
+endif
COBJS-y += time.o
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)