summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--post/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/post/Makefile b/post/Makefile
index 666a89649e..769e9c6396 100644
--- a/post/Makefile
+++ b/post/Makefile
@@ -45,7 +45,7 @@ SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
LIB := $(obj)$(LIB)
-all: postdeps $(LIB)
+all: $(LIB)
postdeps:
@for lib in $(SPLIB-y) ; do \
@@ -57,7 +57,7 @@ $(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
OpenPOWER on IntegriCloud