[PATCH skeleton] rules.mk: Fix parallel build for 'make install'

OpenBMC Patches openbmc-patches at stwcx.xyz
Wed Jun 22 06:10:54 AEST 2016


From: Patrick Williams <patrick at stwcx.xyz>

install-bins was missing a dependency on the binaries themselves.

Signed-off-by: Patrick Williams <patrick at stwcx.xyz>
---
 rules.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules.mk b/rules.mk
index 758e9f2..fb6c000 100644
--- a/rules.mk
+++ b/rules.mk
@@ -19,7 +19,7 @@ all: $(DEFAULT_ALL)
 $(BINS): %: %.o $(EXTRA_OBJS)
 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@$(BIN_SUFFIX) $^ $(LDLIBS)
 
-install-bins:
+install-bins: $(BINS)
 	@mkdir -p $(DESTDIR)$(sbindir)
 	@for b in $(BINS); do \
 		install $$b$(BIN_SUFFIX) $(DESTDIR)$(sbindir) || exit 1; \
-- 
2.9.0




More information about the openbmc mailing list