projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mtd: nand: Include linux/mtd/partitions.h in nand_base.h
[oweals/u-boot.git]
/
lib_nios2
/
Makefile
diff --git
a/lib_nios2/Makefile
b/lib_nios2/Makefile
index 5f996d3bf5437613f6521dfee0cb61b8b466aa45..b69bc38850e363ad660d0d3b5bd1e5b720014905 100644
(file)
--- a/
lib_nios2/Makefile
+++ b/
lib_nios2/Makefile
@@
-25,12
+25,16
@@
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 bootm.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)
$(AR) $(ARFLAGS) $@ $(OBJS)
$(LIB): $(obj).depend $(OBJS)
$(AR) $(ARFLAGS) $@ $(OBJS)