[PATCH ipmi-fru-parser 2/3] Makefile whitespace fixes

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Jun 14 05:40:14 AEST 2016


From: Brad Bishop <bradleyb at us.ibm.com>

A couple spaces at the end of line.

Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
 Makefile | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index dc66a77..958ac16 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-LIBS += libwritefrudata.so 
-HOST_LIBS += libstrgfnhandler.so 
+LIBS += libwritefrudata.so
+HOST_LIBS += libstrgfnhandler.so
 libwritefrudata.so_OBJS  += frup.o writefrudata.o
 libstrgfnhandler.so_OBJS += strgfnhandler.o
 
@@ -26,8 +26,8 @@ __PKG_CONFIG = $(if $1,$(shell pkg-config $2 $1))
 __EXTRA_LIB_RESOLV = $(if $1,$1)
 
 define __BUILD_EXE
-$1 : $$($1_OBJS) | $$(LIBS) $$(HOST_LIBS) 
-		$$(LINK.cpp) -o $$@ $$^ $(call __EXTRA_LIB_RESOLV,$(addprefix -l,$($1_EXTRA_LIBS))) -L. $(call __PKG_CONFIG,$($1_NEEDED),--libs) 
+$1 : $$($1_OBJS) | $$(LIBS) $$(HOST_LIBS)
+		$$(LINK.cpp) -o $$@ $$^ $(call __EXTRA_LIB_RESOLV,$(addprefix -l,$($1_EXTRA_LIBS))) -L. $(call __PKG_CONFIG,$($1_NEEDED),--libs)
 
 $(eval CXXFLAGS += $(call __PKG_CONFIG,$($1_NEEDED),--cflags))
 
@@ -38,7 +38,7 @@ $(foreach exe,$(EXES),$(eval $(call __BUILD_EXE,$(exe))))
 
 define __BUILD_LIB
 $1 : $$($1_OBJS) | $$(addsuffix .so,$$(addprefix lib,$$($1_EXTRA_LIBS)))
-		$$(LINK.cpp) -fPIC -shared -o $$@ $$^ $(call __EXTRA_LIB_RESOLV,$(addprefix -l,$($1_EXTRA_LIBS))) -L. $(call __PKG_CONFIG,$($1_NEEDED),--libs) 
+		$$(LINK.cpp) -fPIC -shared -o $$@ $$^ $(call __EXTRA_LIB_RESOLV,$(addprefix -l,$($1_EXTRA_LIBS))) -L. $(call __PKG_CONFIG,$($1_NEEDED),--libs)
 
 $(eval CXXFLAGS += $(call __PKG_CONFIG,$($1_NEEDED),--cflags))
 
-- 
2.8.4




More information about the openbmc mailing list