[PATCH skeleton 2/9] Add force link option to install target

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Jun 28 04:50:47 AEST 2016


From: Brad Bishop <bradleyb at fuzziesquirrel.com>

This allows 'make install' to be invoked more than once.

Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
 libopenbmc_intf/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libopenbmc_intf/Makefile b/libopenbmc_intf/Makefile
index 54bef57..048d8c4 100644
--- a/libopenbmc_intf/Makefile
+++ b/libopenbmc_intf/Makefile
@@ -17,7 +17,7 @@ install-headers:
 install-lib:
 	@mkdir -p $(DESTDIR)$(libdir)
 	install lib$(LIBOBMC).so.1 $(DESTDIR)$(libdir)
-	ln -s lib$(LIBOBMC).so.1 $(DESTDIR)$(libdir)/lib$(LIBOBMC).so
+	ln -sf lib$(LIBOBMC).so.1 $(DESTDIR)$(libdir)/lib$(LIBOBMC).so
 
 clean-lib:
 	rm -f lib$(LIBOBMC).so.1
-- 
2.9.0




More information about the openbmc mailing list