projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch from archive libraries to partial linking
[oweals/u-boot.git]
/
board
/
amcc
/
yucca
/
Makefile
diff --git
a/board/amcc/yucca/Makefile
b/board/amcc/yucca/Makefile
index 0ff522c31cf496a1daaee1f6f05d6c2d390c81cd..d9fb7134d780e554da82784ddeaa4ae89c8990d1 100644
(file)
--- a/
board/amcc/yucca/Makefile
+++ b/
board/amcc/yucca/Makefile
@@
-23,7
+23,7
@@
include $(TOPDIR)/config.mk
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(BOARD).
a
+LIB = $(obj)lib$(BOARD).
o
COBJS = $(BOARD).o flash.o cmd_yucca.o
SOBJS = init.o
COBJS = $(BOARD).o flash.o cmd_yucca.o
SOBJS = init.o
@@
-33,7
+33,7
@@
OBJS := $(addprefix $(obj),$(COBJS))
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
SOBJS := $(addprefix $(obj),$(SOBJS))
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
- $(
AR) $(ARFLAGS) $@ $(OBJS
)
+ $(
call cmd_link_o_target, $(OBJS)
)
clean:
rm -f $(SOBJS) $(OBJS)
clean:
rm -f $(SOBJS) $(OBJS)