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 d8ae7bd2652c79fd29b8ce392bc68c3af25b8526..f66e9893ab5a8e656c7f9b3d53360c39232ef6c5 100644
(file)
--- a/
lib_nios/Makefile
+++ b/
lib_nios/Makefile
@@
-25,12
+25,17
@@
include $(TOPDIR)/config.mk
LIB = $(obj)lib$(ARCH).a
LIB = $(obj)lib$(ARCH).a
-SOBJS
=
+SOBJS
-y +
=
-COBJS = board.o cache.o divmod.o bootm.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)
$(AR) $(ARFLAGS) $@ $(OBJS)
$(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)