From 45845301af3de8675c1f7bbc815c6de35452605a Mon Sep 17 00:00:00 2001 From: Yuri Tikhonov Date: Sun, 7 Dec 2008 22:12:50 +0100 Subject: [PATCH] POST Make: fix the sub-dir dependencies missing. Signed-off-by: Yuri Tikhonov --- post/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/post/Makefile b/post/Makefile index a402e6adc..666a89649 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)