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_spl: nand_boot.c: Remove CONFIG_SYS_NAND_READ_DELAY
[oweals/u-boot.git]
/
post
/
rules.mk
diff --git
a/post/rules.mk
b/post/rules.mk
index a2f33ad6ae3593f107acef0f94985a0f7969c87b..17f8ef76234369f0d7e148bffecf432df09cd3ba 100644
(file)
--- a/
post/rules.mk
+++ b/
post/rules.mk
@@
-23,7
+23,9
@@
include $(TOPDIR)/config.mk
include $(TOPDIR)/config.mk
-SRCS := $(AOBJS:.o=.S) $(COBJS:.o=.c)
+COBJS := $(COBJS-y)
+AOBJS := $(AOBJS-y)
+SRCS := $(AOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS))
LIB := $(obj)$(LIB)
OBJS := $(addprefix $(obj),$(AOBJS) $(COBJS))
LIB := $(obj)$(LIB)
@@
-32,7
+34,7
@@
CPPFLAGS += -I$(TOPDIR)
all: $(LIB)
$(LIB): $(obj).depend $(OBJS)
all: $(LIB)
$(LIB): $(obj).depend $(OBJS)
- $(
AR) crv $@ $(OBJS
)
+ $(
call cmd_link_o_target, $(OBJS)
)
#########################################################################
#########################################################################