projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Blackfin: tweak embedded LDR env config option
[oweals/u-boot.git]
/
lib_mips
/
Makefile
diff --git
a/lib_mips/Makefile
b/lib_mips/Makefile
index e2ac99914119214e0fb7d6b23dacc946505d9917..7967e5803a3be283c3093dd662a69a6e7e076d43 100644
(file)
--- a/
lib_mips/Makefile
+++ b/
lib_mips/Makefile
@@
-25,15
+25,21
@@
include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a
LIB = $(obj)lib$(ARCH).a
-SOBJS
=
+SOBJS
-y +
=
-COBJS = board.o time.o mips_linux.o
+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
:.o=.S) $(COBJS
:.o=.c)
-OBJS := $(addprefix $(obj),$(SOBJS
) $(COBJS
))
+SRCS := $(SOBJS
-y:.o=.S) $(COBJS-y
:.o=.c)
+OBJS := $(addprefix $(obj),$(SOBJS
-y) $(COBJS-y
))
$(LIB): $(obj).depend $(OBJS)
$(LIB): $(obj).depend $(OBJS)
- $(AR)
crv
$@ $(OBJS)
+ $(AR)
$(ARFLAGS)
$@ $(OBJS)
#########################################################################
#########################################################################