Commit 45845301af3de8675c1f7bbc815c6de35452605a
Committed by
Wolfgang Denk
1 parent
22525779cb
Exists in
master
and in
54 other branches
POST Make: fix the sub-dir dependencies missing.
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Showing 1 changed file with 6 additions and 1 deletions Side-by-side Diff
post/Makefile
... | ... | @@ -45,7 +45,12 @@ |
45 | 45 | OBJS := $(addprefix $(obj),$(COBJS)) |
46 | 46 | LIB := $(obj)$(LIB) |
47 | 47 | |
48 | -all: $(LIB) | |
48 | +all: postdeps $(LIB) | |
49 | + | |
50 | +postdeps: | |
51 | + @for lib in $(SPLIB-y) ; do \ | |
52 | + $(MAKE) -C `dirname $$lib` all ; \ | |
53 | + done | |
49 | 54 | |
50 | 55 | # generic POST library |
51 | 56 | $(GPLIB): $(obj).depend $(OBJS) |