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]
/
arch
/
sh
/
lib
/
Makefile
diff --git
a/arch/sh/lib/Makefile
b/arch/sh/lib/Makefile
index f7c6479426d74458108d442baa55a01e313c3adf..7f6039699dafadbb675e04a0e402d5ba473305aa 100644
(file)
--- a/
arch/sh/lib/Makefile
+++ b/
arch/sh/lib/Makefile
@@
-20,7
+20,7
@@
include $(TOPDIR)/config.mk
include $(TOPDIR)/config.mk
-LIB = $(obj)lib$(ARCH).
a
+LIB = $(obj)lib$(ARCH).
o
SOBJS-y +=
SOBJS-y +=
@@
-36,7
+36,7
@@
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS)
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
$(LIB): $(obj).depend $(OBJS)
- $(
AR) $(ARFLAGS) $@ $(OBJS
)
+ $(
call cmd_link_o_target, $(OBJS)
)
#########################################################################
#########################################################################