POST Make: fix the sub-dir dependencies missing.

Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
This commit is contained in:
Yuri Tikhonov 2008-12-07 22:12:50 +01:00 committed by Wolfgang Denk
parent 22525779cb
commit 45845301af
1 changed files with 6 additions and 1 deletions

View File

@ -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)