mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
POST Make: fix the sub-dir dependencies missing.
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
This commit is contained in:
parent
22525779cb
commit
45845301af
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue