]> git.sur5r.net Git - u-boot/blobdiff - post/Makefile
Remove inline qualifier from show_boot_progress()
[u-boot] / post / Makefile
index a402e6adccaae32e3f2b37b7495c8d1b1ae6961e..769e9c63966b939658b0b55470de292dcaead882 100644 (file)
@@ -47,12 +47,17 @@ LIB := $(obj)$(LIB)
 
 all:   $(LIB)
 
+postdeps:
+       @for lib in $(SPLIB-y) ; do \
+               $(MAKE) -C `dirname $$lib` all ; \
+       done
+
 # generic POST library
 $(GPLIB): $(obj).depend $(OBJS)
        $(AR) $(ARFLAGS) $@ $(OBJS)
 
 # specific POST libraries
-$(SPLIB): $(obj).depend
+$(SPLIB): $(obj).depend postdeps
        $(MAKE) -C $(dir $(subst $(obj),,$@))
 
 # the POST lib archive