POST Make: fix the sub-dir dependencies missing.
PATCH 1/1 POST Make: fix the sub-dir dependencies missing.
From: Yuri Tikhonov <[email protected]>
Signed-off-by Yuri Tikhonov <[email protected]>
--- post/Makefile | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
post/Makefile +6 -1
@@ -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)
Signature · 1 line
1.5.4.2
Wolfgang Denk
AppliedPATCH 1/1 POST Make: fix the sub-dir dependencies missing.
Dear Yuri,
Quoted 6 lines · In message <[email protected]> you wrote:
From: Yuri Tikhonov <[email protected]>
Signed-off-by Yuri Tikhonov <[email protected]>--- post/Makefile | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Always leave room to add an explanation if it doesn't work out.