projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://www.denx.de/git/u-boot-mips
[platform/kernel/u-boot.git]
/
lib_nios2
/
Makefile
diff --git
a/lib_nios2/Makefile
b/lib_nios2/Makefile
index
1c2ac72
..
717aa9b
100644
(file)
--- a/
lib_nios2/Makefile
+++ b/
lib_nios2/Makefile
@@
-25,15
+25,19
@@
include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a
LIB = $(obj)lib$(ARCH).a
-SOBJS
= cache.o
+SOBJS
-y +
= cache.o
-COBJS = board.o divmod.o nios_linux.o mult.o time.o
+COBJS-y += board.o
+COBJS-y += bootm.o
+COBJS-y += divmod.o
+COBJS-y += mult.o
+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)
#########################################################################
#########################################################################