projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2252577
)
POST Make: fix the sub-dir dependencies missing.
author
Yuri Tikhonov
<yur@emcraft.com>
Sun, 7 Dec 2008 21:12:50 +0000
(22:12 +0100)
committer
Wolfgang Denk
<wd@denx.de>
Mon, 15 Dec 2008 21:02:15 +0000
(22:02 +0100)
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
post/Makefile
patch
|
blob
|
history
diff --git
a/post/Makefile
b/post/Makefile
index a402e6adccaae32e3f2b37b7495c8d1b1ae6961e..666a89649eef7c2a5c57492d5bb8c26ca0819bc0 100644
(file)
--- a/
post/Makefile
+++ b/
post/Makefile
@@
-45,7
+45,12
@@
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
LIB := $(obj)$(LIB)
-all: $(LIB)
+all: postdeps $(LIB)
+
+postdeps:
+ @for lib in $(SPLIB-y) ; do \
+ $(MAKE) -C `dirname $$lib` all ; \
+ done
# generic POST library
$(GPLIB): $(obj).depend $(OBJS)