diff options
author | Yuri Tikhonov <yur@emcraft.com> | 2008-12-07 22:12:50 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-12-15 22:02:15 +0100 |
commit | 45845301af3de8675c1f7bbc815c6de35452605a (patch) | |
tree | 1916354726f87546b51250645d2f936c04f71e67 /post | |
parent | 22525779cb51f1bbe4e96fea7b778de1935a5a69 (diff) | |
download | u-boot-45845301af3de8675c1f7bbc815c6de35452605a.tar.gz u-boot-45845301af3de8675c1f7bbc815c6de35452605a.tar.bz2 u-boot-45845301af3de8675c1f7bbc815c6de35452605a.zip |
POST Make: fix the sub-dir dependencies missing.
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Diffstat (limited to 'post')
-rw-r--r-- | post/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/post/Makefile b/post/Makefile index a402e6adcc..666a89649e 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) |