From: Yuri Tikhonov Date: Sun, 7 Dec 2008 21:12:50 +0000 (+0100) Subject: POST Make: fix the sub-dir dependencies missing. X-Git-Tag: v2009.01-rc1~3^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45845301af3de8675c1f7bbc815c6de35452605a;hp=22525779cb51f1bbe4e96fea7b778de1935a5a69;p=platform%2Fkernel%2Fu-boot.git POST Make: fix the sub-dir dependencies missing. Signed-off-by: Yuri Tikhonov --- 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)