projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Nand mxc_nand add v1.1 controller support
[oweals/u-boot.git]
/
lib_nios
/
Makefile
diff --git
a/lib_nios/Makefile
b/lib_nios/Makefile
index ad4c6c4650123e9796bd7cbd873cf9b089da2ae9..f66e9893ab5a8e656c7f9b3d53360c39232ef6c5 100644
(file)
--- a/
lib_nios/Makefile
+++ b/
lib_nios/Makefile
@@
-25,15
+25,20
@@
include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a
LIB = $(obj)lib$(ARCH).a
-SOBJS
=
+SOBJS
-y +
=
-COBJS = board.o cache.o divmod.o nios_linux.o mult.o time.o
+COBJS-y += board.o
+COBJS-y += bootm.o
+COBJS-y += cache.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)
#########################################################################
#########################################################################