commit | e68a78a2b198b010942ea187113b3092c7d9caab | [log] [tgz] |
---|---|---|
author | Yuri Tikhonov <yur@emcraft.com> | Sun Dec 07 22:12:50 2008 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Mon Dec 15 22:02:15 2008 +0100 |
tree | 1916354726f87546b51250645d2f936c04f71e67 | |
parent | 5b4eba2d33702568248360198f08fa20f21a9d9b [diff] |
POST Make: fix the sub-dir dependencies missing. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
diff --git a/post/Makefile b/post/Makefile index a402e6a..666a896 100644 --- a/post/Makefile +++ b/post/Makefile
@@ -45,7 +45,12 @@ 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)