From: Wolfgang Denk Date: Sun, 7 Dec 2008 22:12:50 +0100 Subject: [U-Boot] [PATCH] POST Make: fix the sub-dir dependencies missing. Message-ID: <1228684370-5292-1-git-send-email-wd@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Yuri Tikhonov Signed-off-by: Yuri Tikhonov --- post/Makefile | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/post/Makefile b/post/Makefile index a402e6a..666a896 100644 --- 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) -- 1.5.4.2